]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320dac33: Add support for changing upper threshold
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Mon, 7 Jun 2010 07:50:39 +0000 (10:50 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 7 Jun 2010 09:43:35 +0000 (10:43 +0100)
commit7b87790cf32a9f3601ce45c4f2e1f4ac8af45660
treeecbb45951d65b823d869fa82342763dd43b4a959
parentc907b7ce31f2260d8087543e4e59551e656ef270
ASoC: tlv320dac33: Add support for changing upper threshold

Upper threshold is used in mode7 of DAC33.
Instead of hard wired UTHR, add control to change the upper threshold
value.
Changing upper threshold is not allowed when the playback is already
running, since wrongly timed change in the UTHR can cause problems
with the codec.
With this control the length of the burst in mode7 can be changed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tlv320dac33.c