]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: twl6040: correct loop counters for HS/HF ramp code
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 29 Sep 2011 12:22:35 +0000 (15:22 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Sep 2011 12:55:08 +0000 (13:55 +0100)
commit93eebc6982161f317c4a99118a4423bc3933fdfa
tree69390218fd89c1cd478a98606ce69a8d06e11819
parenta46737aee59e4e001106e1d3777e0801843361db
ASoC: twl6040: correct loop counters for HS/HF ramp code

The Headset gain range is 0 - 0xf (4 bit resolution)
The Handsfree gain range is 0 - 0x1d (5 bit resolution,
0x1e, and 0x1f values are invalid)

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c