linux/sound/soc/omap
Arnd Bergmann 0574eab363 ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency, again
I tried to fix this before and submitted a working patch, but after
some discussion we came up with what seemed to be a nicer solution,
resulting in commit 3d4cf65e2d ("ASoC: omap: fix up
SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency"). Unfortunately, that
version was incomplete, and we still get this build error:

drivers/clk/clk-palmas.c:46:16: error: field 'hw' has incomplete type
drivers/clk/clk-palmas.c: In function 'to_palmas_clks_info':
drivers/clk/clk-palmas.c:54:74: warning: initialization from incompatible pointer type [-Winc

This happens only in randconfig builds that turn on MFD_PALMAS
on a platform other than OMAP2+ when COMPILE_TEST is set
but COMMON_CLK is not.

The new approach is only 'select COMMON_CLK_PALMAS' if we know
that we are on an OMAP5 platform and MFD_PALMAS is already set.
This patch has survived thousands of randconfig builds and I
don't see a remaining hole in the logic.

Fixes: 3d4cf65e2d ("ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-05-20 19:06:30 +01:00
..
am3517evm.c ASoC: am3517evm: Use the same name for platform as the cpu_dai 2014-04-18 18:00:46 +01:00
ams-delta.c ASoC: ams-deltea: Register jacks at the card level 2015-03-04 17:10:26 +00:00
Kconfig ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency, again 2015-05-20 19:06:30 +01:00
Makefile ASoC: omap: Remove obsolete HDMI audio code and Kconfig options 2014-12-01 11:09:56 +02:00
mcbsp.c ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" 2014-11-17 23:52:34 +00:00
mcbsp.h ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
n810.c ASoC: n810: Automatically disconnect non-connected pins 2015-04-12 12:45:26 +01:00
omap3pandora.c ASoC: omap3pandora: Use the same name for platform as the cpu_dai 2014-04-18 18:00:47 +01:00
omap-abe-twl6040.c ASoC: omap-abe-twl6040: Register jacks at the card level 2015-03-04 17:10:26 +00:00
omap-dmic.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
omap-dmic.h ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC 2011-11-28 17:21:44 +00:00
omap-hdmi-audio.c Merge remote-tracking branches 'asoc/topic/omap', 'asoc/topic/qcom', 'asoc/topic/rcar' and 'asoc/topic/rt286' into asoc-next 2015-04-12 19:49:11 +01:00
omap-mcbsp.c ASoC: OMAP: mcbsp: Fix CLKX and CLKR pinmux when used as inputs 2015-02-26 11:48:49 +09:00
omap-mcbsp.h ASoC: omap: rx51: omap_mcbsp_st_add_controls: add id parameter 2014-05-01 10:54:34 -07:00
omap-mcpdm.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c Merge remote-tracking branches 'asoc/topic/jack', 'asoc/topic/max98357a', 'asoc/topic/omap' and 'asoc/topic/rt286' into asoc-next 2015-03-05 01:07:23 +00:00
omap-twl4030.c ASoC: omap-twl4030: Use card DAPM context to access widgets 2015-05-06 18:53:58 +01:00
osk5912.c ASoC: osk5912: Use the same name for platform as the cpu_dai 2014-04-18 18:00:47 +01:00
rx51.c ASoC: rx51: Register jacks at the card level 2015-03-04 17:10:42 +00:00