ASoC: ac97: Push snd_ac97 pointer to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 10 Nov 2014 21:41:53 +0000 (22:41 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 18 Nov 2014 15:38:03 +0000 (15:38 +0000)
commit358a8bb5628420529e4f0b77068155ca8fa8973b
tree864f2cc85356c306157d6ce65d24be1914bbb21e
parentbc2632140435cc84f9817f1c362479b23dbdfebc
ASoC: ac97: Push snd_ac97 pointer to the driver level

Now that the ASoC core no longer needs a handle to the AC'97 device that is
associated with a CODEC we can remove it from the snd_soc_codec struct and
push it into the individual driver state structs like we do for other
communication buses. Doing so creates a clean separation between the AC'97
bus support and the ASoC core.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/codecs/ac97.c
sound/soc/codecs/ad1980.c
sound/soc/codecs/stac9766.c
sound/soc/codecs/wm9705.c
sound/soc/codecs/wm9712.c
sound/soc/codecs/wm9713.c
sound/soc/soc-ac97.c