ASoC: UDA134X: Fix mistaken mute/unmute code
authorShine Liu <shinel@foxmail.com>
Mon, 17 Aug 2009 10:52:01 +0000 (18:52 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Aug 2009 11:56:57 +0000 (12:56 +0100)
commit0c093fb5421a648fae46fce17277bdb358fe017b
treed0ea03d974bf023eb425e5e7d560f45b3d6b746e
parent471e3dec3abe2d41e8c742046353fcb01bc2459e
ASoC: UDA134X: Fix mistaken mute/unmute code

There is a mistake in current uda134x_mute function: mute_reg has been
changed in line 162 or line 164, so uda134x_write should write
"mute_reg" but not "mute_reg & ~(1<<2)" to
UDA134X_DATA010.

Signed-off-by: Shine Liu <shinel@foxmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/uda134x.c