Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5b5a064 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown
Browse files

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: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9135f6db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",