aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-01-19 04:15:45 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-19 07:36:24 -0500
commita5b5a0649a84db1a0cc1e19997572be8ef3b8c81 (patch)
tree45332a8ac8f09795480fbbfdf5294a23729fb2c7 /sound/soc/codecs
parent9135f6db09aa9d186f05d41e9c516ec8e3550d78 (diff)
ASoC: tlv320dac33: Correct the prefill number of samples
Set the prefill number of samples as the same as the lower threshold in mode7. In this way the codec will read the same amount of data on startup and during the running playback. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/tlv320dac33.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index 2df9c20b7d52..65683aa3920c 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -559,7 +559,7 @@ static inline void dac33_prefill_handler(struct tlv320dac33_priv *dac33)
559 break; 559 break;
560 case DAC33_FIFO_MODE7: 560 case DAC33_FIFO_MODE7:
561 dac33_write16(codec, DAC33_PREFILL_MSB, 561 dac33_write16(codec, DAC33_PREFILL_MSB,
562 DAC33_THRREG(20)); 562 DAC33_THRREG(10));
563 break; 563 break;
564 default: 564 default:
565 dev_warn(codec->dev, "Unhandled FIFO mode: %d\n", 565 dev_warn(codec->dev, "Unhandled FIFO mode: %d\n",