diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-11-02 12:20:39 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-06 17:23:24 +0000 |
commit | 25540f68c871d0ed3771b552eb640a1130880ab6 (patch) | |
tree | 81db0109228a8d6bfa47cf876bf27a3dd259a701 /include/sound | |
parent | 2c2596f3ab25008adbc12059321cadbf5264e7bb (diff) |
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: bec5ecdf41d4 ("ASoC: pxa: avoid AC97_BUS build warning")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions