From: Peter Ujfalusi Date: Tue, 19 Jan 2010 09:15:45 +0000 (+0200) Subject: ASoC: tlv320dac33: Correct the prefill number of samples X-Git-Tag: v2.6.35-rc6~9^2~7^2~210 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a5b5a0649a84db1a0cc1e19997572be8ef3b8c81;p=~emulex%2Finfiniband.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index 2df9c20b7d5..65683aa3920 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) break; case DAC33_FIFO_MODE7: dac33_write16(codec, DAC33_PREFILL_MSB, - DAC33_THRREG(20)); + DAC33_THRREG(10)); break; default: dev_warn(codec->dev, "Unhandled FIFO mode: %d\n",