linux/sound/soc/pxa
Arnd Bergmann 25540f68c8
ASoC: pxa: change ac97 dependencies
Enabling both the old AC97_BUS code and the new AC97_BUS_COMPAT causes
problems because both modules provide an exported snd_ac97_reset()
function.

I had tried to fix the problem of having both coexist earlier, but
my patch only prevented them from being built-in. This is because
of a special Kconfig feature that lets a symbol have a dependency
on another one being disabled, but still allow both to be loadable
modules.

Changing the dependency to =n avoids that problem, now we can only
build the new driver if the old one is completely disabled.

If we could figure out a way to let rename one of the reset
functions and have each driver link to exactly the old or
the compat code, that would also work, but I could not find if
that's possible.

Fixes: bec5ecdf41 ("ASoC: pxa: avoid AC97_BUS build warning")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-11-06 17:23:24 +00:00
..
Kconfig ASoC: pxa: change ac97 dependencies 2018-11-06 17:23:24 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
brownstone.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
corgi.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
e740_wm9705.c ASoC: pxa2xx-ac97: Remove unused DAI ID defines 2017-01-05 12:34:38 +00:00
e750_wm9705.c ASoC: pxa: Add space around '=' 2017-03-07 14:32:21 +01:00
e800_wm9712.c ASoC: pxa: Add space around '=' 2017-03-07 14:32:21 +01:00
em-x270.c ASoC: pxa: Add space around '=' 2017-03-07 14:32:21 +01:00
hx4700.c ASoC: pxa: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:38:57 +01:00
imote2.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
magician.c ASoC: pxa: remove clock divider and pll setup from zylonite and magician 2018-07-20 17:41:26 +01:00
mioa701_wm9713.c ASoC: pxa/mioa701_wm9713: replace codec to component 2018-02-19 13:07:24 +00:00
mmp-pcm.c ASoC: pxa: mmp: replace platform to component 2018-02-12 11:45:29 +00:00
mmp-sspa.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
mmp-sspa.h ASoC: mmp: add sspa support 2012-06-13 13:13:39 +01:00
palm27x.c ASoC: pxa2xx-ac97: Remove unused DAI ID defines 2017-01-05 12:34:38 +00:00
poodle.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
pxa-ssp.c ASoC: pxa-ssp: enable and disable extclk if given 2018-10-04 11:41:38 +01:00
pxa-ssp.h ASoC: pxa-ssp: Remove unused DAI ID defines 2016-10-24 18:38:07 +01:00
pxa2xx-ac97.c ASoC: pxa: switch to new ac97 bus support 2018-09-10 18:47:58 +01:00
pxa2xx-i2s.c ASoC: pxa: provide PCM ops for ssp, i2s and ac97 components 2018-06-29 12:05:24 +01:00
pxa2xx-i2s.h ASoC: pxa2xx-i2s: Remove unused DAI ID defines 2016-10-24 18:38:00 +01:00
pxa2xx-pcm.c ASoC: pxa: remove bindings from pxa2xx-pcm 2018-06-29 12:05:25 +01:00
raumfeld.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
spitz.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
tosa.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
ttc-dkb.c ASoC: 88pm860x: replace codec to component 2018-02-12 11:07:55 +00:00
z2.c ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
zylonite.c ASoC: pxa: remove clock divider and pll setup from zylonite and magician 2018-07-20 17:41:26 +01:00