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

Axel Lin axel.lin at ingics.com
Mon Aug 31 11:22:03 CEST 2015


2015-08-31 17:10 GMT+08:00 Takashi Iwai <tiwai at suse.de>:
> On Mon, 31 Aug 2015 02:52:33 +0200,
> 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.
>>
>> Reported-by: Takashi Iwai <tiwai at suse.com>
>> Signed-off-by: Axel Lin <axel.lin at ingics.com>
>
> Thanks, this fixes, but it'd be better to have a proper dummy function
> for devm_reset_control_get() with CONFIG_RESET_CONTROLLER=n, IMO.

You are right.
Not sure  if anyone already sent the fix, I'm sending it.


More information about the Alsa-devel mailing list