[alsa-devel] randconfig errors in ts3a227e.c

devendra.aaru devendra.aaru at gmail.com
Sun Nov 23 00:51:45 CET 2014


This appears on the linux-next tree (the latest commit is
ed6778aef7428a6c5fc1acf08a3e9126f5eef770..

On Sat, Nov 22, 2014 at 6:50 PM, devendra.aaru <devendra.aaru at gmail.com> wrote:
> Hello All,
>
> While testing the build, i have got the following errors:
>
>
> sound/soc/codecs/ts3a227e.c: In function ‘ts3a227e_enable_jack_detect’:
> sound/soc/codecs/ts3a227e.c:223:2: error: implicit declaration of
> function ‘snd_jack_set_key’ [-Werror=implicit-function-declaration]
>   snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA);
>   ^
> cc1: some warnings being treated as errors
> make[3]: *** [sound/soc/codecs/ts3a227e.o] Error 1
>
>
> The CONFIG_SND_JACK is not enabled in the .config and the #else
> portion of include/sound/jack.h doesn't contain snd_jack_set_key stub.
> This resulting in the build error. I am unsure if adding stub in
> include/sound/jack.h or adding a Kconfig knob to deselect the
> ts3a227e.c fixes the issue ?
>
> full randconfig attached. (sorry about the 55k file size)


More information about the Alsa-devel mailing list