ASoC: fix deemphasis control in wm8904/55/60 codecs
authorDmitry Artamonow <mad_soft@inbox.ru>
Wed, 8 Dec 2010 20:36:17 +0000 (23:36 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Dec 2010 10:55:37 +0000 (10:55 +0000)
commit3f343f8512c7882a3637d9aea4ec6b3801cbcdc5
tree129d750e31f41b9cdabb9bed5458061e44f74130
parent2a7b1a00206895cfa444fd83477dca67a88a9d25
ASoC: fix deemphasis control in wm8904/55/60 codecs

Deemphasis control's .get callback should update control's value instead
of returning it - return value of callback function is used for indicating
error or success of operation.

Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8904.c
sound/soc/codecs/wm8955.c
sound/soc/codecs/wm8960.c