ASoC: TWL4030: Fix gain control for earpiece amplifier
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 28 Apr 2009 09:18:05 +0000 (18:18 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Apr 2009 15:11:22 +0000 (16:11 +0100)
commit18cc8d8d9b74c446832336d8f6e1afb145f9431b
tree22b4bde5fe55b41f6fac65b566be1d0f28aed8e3
parent0c95de73a711d376dc17afe484f919bd5b66c016
ASoC: TWL4030: Fix gain control for earpiece amplifier

The gain control for earpiece amplifier uses 0dB ~ 12dB according to the
TRM, but the present code is implemented to -6dB ~ 6dB.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c