[alsa-devel] randconfig errors in ts3a227e.c

devendra.aaru devendra.aaru at gmail.com
Sun Nov 23 00:50:04 CET 2014


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rand_config1
Type: application/octet-stream
Size: 55837 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141122/a0038bb2/attachment-0001.obj>


More information about the Alsa-devel mailing list