ALSA: ASoC: Check for exact register match in wm97xx_reset()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Jun 2008 15:24:04 +0000 (16:24 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 16 Jun 2008 07:32:27 +0000 (09:32 +0200)
commitabb68c26ba15f8e84e580a40c0b1bc349cb534b0
tree25afa44a648a8e11cd26a657d694eacc345075df
parentaafc4412be31306e5c38bd4e4581066507503adc
ALSA: ASoC: Check for exact register match in wm97xx_reset()

To provide added robustness in case an AC97 controller reads back all
zeros in error cases check for an exact match when testing to see if
resets have brought the codec back.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/wm9712.c
sound/soc/codecs/wm9713.c