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)
commit9d7db2b2cb507f31ff29e339e9ed2f825edb555d
treeecbb45951d65b823d869fa82342763dd43b4a959
parentddc29b0104d69e3742e6a9f23184fb6184614403
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