]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: make TTC DKB tristate
authorArnd Bergmann <arnd@arndb.de>
Thu, 29 Jan 2015 16:13:46 +0000 (17:13 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jan 2015 12:44:35 +0000 (13:44 +0100)
commit6ac85c6aed31fed610e713ab3ebf97d8030d7a50
treec181f2cf26aeb3c8ea523fc3798d46e483f15b87
parentf0b28a9f1d01c862a63bf3586880bfe1a39e40c0
ASoC: pxa: make TTC DKB tristate

In a rare combination of Kconfig settings, the 88pm860x-codec
module may be selected as a loadable module, while it's also being
used by the ttb-dkb code that is built-in, resulting in a link
error:

sound/built-in.o: In function `ttc_pm860x_init':
:(.text+0x3e888): undefined reference to `pm860x_hs_jack_detect'
:(.text+0x3e898): undefined reference to `pm860x_mic_jack_detect'

Changing ttb-tkb to a tristate option tells Kconfig that 88pm86x
actually needs to be built-in if ttc-dkb is also built-in.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/Kconfig