Author: blogic
Date: 2015-12-09 12:25:01 +0100 (Wed, 09 Dec 2015)
New Revision: 47812

Modified:
   branches/chaos_calmer/target/linux/ramips/patches-3.18/500-alsa.patch
Log:
ralink: fix audio recording

there was an incorrect usage of tx path helpers in the rx path causing the code 
to
run into endless sleep states

Signed-off-by: John Crispin <[email protected]>

Modified: branches/chaos_calmer/target/linux/ramips/patches-3.18/500-alsa.patch
===================================================================
--- branches/chaos_calmer/target/linux/ramips/patches-3.18/500-alsa.patch       
2015-12-08 00:14:41 UTC (rev 47811)
+++ branches/chaos_calmer/target/linux/ramips/patches-3.18/500-alsa.patch       
2015-12-09 11:25:01 UTC (rev 47812)
@@ -5938,7 +5938,7 @@
 +              if(rtd->dmaStat[SNDRV_PCM_STREAM_CAPTURE]){
 +
 +                      gdma_En_Switch(rtd,STREAM_CAPTURE,GDMA_I2S_DIS);
-+                      i2s_tx_end_sleep_on(rtd);
++                      i2s_rx_end_sleep_on(rtd);
 +                      tasklet_kill(&i2s_rx_tasklet);
 +                      i2s_rx_disable(rtd);
 +                      
//mt76xx_pcm_free_dma_buffer(substream,substream->stream);
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to