]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 25 Feb 2015 15:42:12 +0000 (16:42 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 6 Mar 2015 19:50:25 +0000 (19:50 +0000)
commit3d4cf65e2db58f927ca3cd13b0074b8fe5124659
treebdd4b4d770cafacad711aec381d656be653586bd
parent6742e15cf92a8dc3065843a627952ed518e08267
ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency

The change to enable OMAP5 support on this platform was a little too
eager in adding a 'select' for a particular clock driver that might
not be enabled in all configurations, which in turn leads to a build
error:

warning: (SND_OMAP_SOC_OMAP_ABE_TWL6040) selects COMMON_CLK_PALMAS which has unmet direct dependencies (COMMON_CLK && MFD_PALMAS)
drivers/built-in.o: In function `palmas_clks_probe':
drivers/clk/clk-palmas.c:228: undefined reference to `palmas_ext_control_req_config'

I do not see a strong dependency here, so it's probably better to
drop this select and to avoid adding more complexity here.

Fixes: 5163c1eede8e9 ("ASoC: omap: Kconfig: Support for omap5-uevm analog audio")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/Kconfig