summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ac97.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@nokia.com>2009-02-09 14:27:06 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-02-09 18:27:59 +0000
commitb93f74f604c53b546fced33d11aee722560de249 (patch)
treee107aeb39da3897de42b77c090afd5642ec323e4 /sound/soc/codecs/ac97.c
parent44dd2b9168350b82a671ce71666b99208ab2d973 (diff)
ASoC: TLV320AIC3X: Fix volume ranges
This is a minor fix but helps to define dB ranges for volume controls. Only DAC digital volume has full register value range from 0 to 127 but ADC PGA gain and output stage volume controls don't. For ADC PGA, maximum value is 119 and then it saturates to the same gain value of 59.5 dB. For output stages, value 117 corresponds to -78.3 dB and is muted for values 118 and above. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ac97.c')
0 files changed, 0 insertions, 0 deletions