mirror of https://gitee.com/openkylin/linux.git
25540f68c8
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
brownstone.c | ||
corgi.c | ||
e740_wm9705.c | ||
e750_wm9705.c | ||
e800_wm9712.c | ||
em-x270.c | ||
hx4700.c | ||
imote2.c | ||
magician.c | ||
mioa701_wm9713.c | ||
mmp-pcm.c | ||
mmp-sspa.c | ||
mmp-sspa.h | ||
palm27x.c | ||
poodle.c | ||
pxa-ssp.c | ||
pxa-ssp.h | ||
pxa2xx-ac97.c | ||
pxa2xx-i2s.c | ||
pxa2xx-i2s.h | ||
pxa2xx-pcm.c | ||
raumfeld.c | ||
spitz.c | ||
tosa.c | ||
ttc-dkb.c | ||
z2.c | ||
zylonite.c |