提交 a5b5a064 编写于 作者: P Peter Ujfalusi 提交者: Mark Brown

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: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 9135f6db
...@@ -559,7 +559,7 @@ static inline void dac33_prefill_handler(struct tlv320dac33_priv *dac33) ...@@ -559,7 +559,7 @@ static inline void dac33_prefill_handler(struct tlv320dac33_priv *dac33)
break; break;
case DAC33_FIFO_MODE7: case DAC33_FIFO_MODE7:
dac33_write16(codec, DAC33_PREFILL_MSB, dac33_write16(codec, DAC33_PREFILL_MSB,
DAC33_THRREG(20)); DAC33_THRREG(10));
break; break;
default: default:
dev_warn(codec->dev, "Unhandled FIFO mode: %d\n", dev_warn(codec->dev, "Unhandled FIFO mode: %d\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册