[alsa-devel] [PATCH] ASoC: Make SND_SOC_STI_SAS depend on RESET_CONTROLLER

Mark Brown broonie at kernel.org
Mon Aug 31 10:59:42 CEST 2015


On Mon, Aug 31, 2015 at 08:52:33AM +0800, Axel Lin wrote:
> (devm_)reset_control_get function is available only when RESET_CONTROLLER
> is set. Make SND_SOC_STI_SAS depend on RESET_CONTROLLER to fix build error
> if !RESET_CONTROLLER.

Ugh, no.  This is not good - the reset controller API should be stubbing
itself out like other service APIs so that generic code can work with it
without lots of ifdefs.  It's a similar situation to regulators and GPIOs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150831/6ac0e1d6/attachment.sig>


More information about the Alsa-devel mailing list