]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: omap: Amstrad E3 needs TTY support for codec
authorArnd Bergmann <arnd@arndb.de>
Tue, 29 Apr 2014 11:18:35 +0000 (19:18 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 1 May 2014 20:31:05 +0000 (13:31 -0700)
The cx20442 codec driver used here requires the TTY layer to
be enabled, or we get a link error:

sound/built-in.o: In function `cx20442_codec_remove':
cx20442.c:398: undefined reference to `tty_hangup'
sound/built-in.o: In function `ams_delta_remove':
ams-delta.c:613: undefined reference to `tty_unregister_ldisc'
sound/built-in.o: In function `ams_delta_cx20442_init':
ams-delta.c:559: undefined reference to `tty_register_ldisc'

This adds the missing dependency in the E3 configuration, there
was already one for the codec.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/omap/Kconfig

index 2796af9fa5e8bfb535f25b4ea6bfe8c78dc79b83..d44463a7b0faed8faef4565657962111604daa2c 100644 (file)
@@ -37,7 +37,7 @@ config SND_OMAP_SOC_RX51
 
 config SND_OMAP_SOC_AMS_DELTA
        tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
-       depends on SND_OMAP_SOC && MACH_AMS_DELTA
+       depends on SND_OMAP_SOC && MACH_AMS_DELTA && TTY
        select SND_OMAP_SOC_MCBSP
        select SND_SOC_CX20442
        help