ASoC: ad1980: Use core AC'97 reset helper
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 21 Jul 2015 19:53:02 +0000 (21:53 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2015 16:33:31 +0000 (17:33 +0100)
commit3ab3dbdfb91b70ef6bf4eb9b544bf54ff1dff51a
tree716991231657a75d0987385dcd365df95dd34c62
parent7361fbeaeaab5282bbfc88f1f6fe4cf034f7623c
ASoC: ad1980: Use core AC'97 reset helper

Use the new snd_ac97_reset() helper function to perform the reset and
verify the device ID.

Unfortunately the reset can't be done in snd_soc_new_ac97_codec() due to
the special requirements in order to support the non-standard 16-bit slot
mode of the ad1980.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ad1980.c
This page took 0.024674 seconds and 5 git commands to generate.