ASoC: Fix for master playback/capture volume range for TWL4030 codec
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Fri, 14 Nov 2008 06:57:28 +0000 (08:57 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Nov 2008 11:02:21 +0000 (11:02 +0000)
commit6e5d9db271ab57789b09bcc61083ab71b7eabea9
treef43f57951fc7a3880d9dfa74a8e13e8f9d285365
parent71cfc9028d762419ce4dea62b4afc9c32c4b4820
ASoC: Fix for master playback/capture volume range for TWL4030 codec

FGAIN for playback is in range of 0-0x3f, while for capture GAIN it
is in the range of 0-0x1f.
The original value of 128 (0x7f) would modify the CGAIN also for
playback.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c