aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-09 11:25:01 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-09 11:25:01 +0000
commit5d1ab54bd8f41f5ae0e4c55b56c393c6ff68e433 (patch)
tree865200d773b8c44fcbdca3e8a1caa137ae20321b /target
parent3dd2d2c152914341afcfbcde7742291a53c63617 (diff)
downloadupstream-5d1ab54bd8f41f5ae0e4c55b56c393c6ff68e433.tar.gz
upstream-5d1ab54bd8f41f5ae0e4c55b56c393c6ff68e433.tar.bz2
upstream-5d1ab54bd8f41f5ae0e4c55b56c393c6ff68e433.zip
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 <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47812 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-3.18/500-alsa.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-3.18/500-alsa.patch b/target/linux/ramips/patches-3.18/500-alsa.patch
index d6d489249f..41fbb8407c 100644
--- a/target/linux/ramips/patches-3.18/500-alsa.patch
+++ b/target/linux/ramips/patches-3.18/500-alsa.patch
@@ -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);