ASoC: tlv320aic3x: Fix data delay configuration
Subsystems (3)
PATCH v2 1/1 ASoC: tlv320aic3x: Fix data delay configuration
The CTRLC register were not receiving the correct delay configuration, which will corrupt DSP_A audio mode.
Fixes 368494093354 ("ASoC: tlv320aic3x: Add TDM support")
Reported-by Pavel Machek <[email protected]>
Signed-off-by Peter Ujfalusi <[email protected]>
Tested-by Pavel Machek <[email protected]>
Tested-by Jarkko Nikula <[email protected]>
---
Changes since v1:
Fixes tag and Tested-by from Pavel and Jarkko added to commit message.
Regards,
Peter
sound/soc/codecs/tlv320aic3x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/tlv320aic3x.c +1 -1
@@ -1046,7 +1046,7 @@ static int aic3x_prepare(struct snd_pcm_substream *substream, delay += aic3x->tdm_delay;/* Configure data delay */ -snd_soc_write (codec,AIC3X_ASD_INTF_CTRLC , aic3x->tdm_delay); +snd_soc_write (codec,AIC3X_ASD_INTF_CTRLC , delay);return 0 ; }
Signature · 1 line
2.2.2
Mark Brown
maintainerQuoted 2 lines · Peter Ujfalusi
Changes since v1:
Fixes tag and Tested-by from Pavel and Jarkko added to commit message.
If there are any code changes from the version I've already applied please send them as an incremental patch.
Quoted 7 lines · Mark Brown
Quoted 2 lines · Peter Ujfalusi
Changes since v1:
Fixes tag and Tested-by from Pavel and Jarkko added to commit message.If there are any code changes from the version I've already applied please send them as an incremental patch.
No change to the code, just commit message.
Thanks,
Péter