diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2017-10-14 23:14:02 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-18 13:25:15 +0300 |
commit | 6bd25aae3a9bc7ed3d24f2b3d4cd711fadc5d32e (patch) | |
tree | 2e3bbf5b4fee4e792b9a659cea2d10e7480ce668 /arch/arm/mach-pxa/mfp-pxa3xx.h | |
parent | 5aa3b03ad0712e3964a0ae2788f61f08da814bfe (diff) | |
download | linux-6bd25aae3a9bc7ed3d24f2b3d4cd711fadc5d32e.tar.xz |
ASoC: wm97xx: fix compilation corner case
When the old AC97 is not used, CONFIG_SND_SOC_AC97_BUS is not
defined. As a consequence, in the error path, snd_soc_free_ac97_codec()
is not defined and triggers a compilation error.
Fix it for wm9705 and wm9712, as wm9713 is correctly written.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/mach-pxa/mfp-pxa3xx.h')
0 files changed, 0 insertions, 0 deletions