ASoC: tlv320aic3x: Fix data delay configuration
Subsystems (3)
PATCH 1/1 ASoC: tlv320aic3x: Fix data delay configuration
Fix the issue introduced by:
368494093354 ASoC: tlv320aic3x: Add TDM support
The CTRLC register were not receiving the correct delay configuration, which will corrupt DSP_A audio mode.
---
Hi,
most of my boards are using DSP_B or I2S mode... This is why this is slipped.
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
Hi!
Quoted 8 lines
Fix the issue introduced by:
368494093354 ASoC: tlv320aic3x: Add TDM supportThe CTRLC register were not receiving the correct delay configuration, which will corrupt
DSP_Aaudio mode.Reported-by Pavel Machek <[email protected]>Signed-off-by Peter Ujfalusi <[email protected]>
Thanks for a fix!
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Jarkko Nikula
Tested-byQuoted 5 lines · Pavel Machek
Hi!
Quoted 3 lines
Fix the issue introduced by:
368494093354 ASoC: tlv320aic3x: Add TDM support
Quoted 8 lines
Quoted 5 lines
The CTRLC register were not receiving the correct delay configuration, which will corrupt
DSP_Aaudio mode.Reported-by Pavel Machek <[email protected]>Signed-off-by Peter Ujfalusi <[email protected]>Tested-by Pavel Machek <[email protected]>
You could add into v2 (see Takashi's Fixes: tag comment) also my
At Fri, 30 Jan 2015 14:42:31 +0200,
Quoted 3 lines · Peter Ujfalusi
Fix the issue introduced by:
368494093354 ASoC: tlv320aic3x: Add TDM support
Please put "Fixes:" tag in such a case.
I guess we'll have a chance to send the last pull request for 3.19 in the next week. If we miss it, we'll have to mark this with Cc to stable.
Takashi
Quoted 37 lines
The CTRLC register were not receiving the correct delay configuration, which will corrupt
DSP_Aaudio mode.Reported-by Pavel Machek <[email protected]>Signed-off-by Peter Ujfalusi <[email protected]>---
Hi,most of my boards are using
DSP_Bor I2S mode... This is why this is slipped.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 · 6 lines
2.2.2 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel