Skip to contentSkip to conversation

ASoC: tlv320dac33: Correct the prefill number of samples

PATCH Applied Peter Ujfalusi 2 participants 2 messages Jan 19, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/codecs/tlv320dac33.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/tlv320dac33.c +1 -1
index 2df9c20..65683aa 100644
@@ -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",
Signature · 1 line
1.6.6
Applied
#1 lore raw
Quoted 6 lines · Peter Ujfalusi

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.

Applied, thanks.