projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb3a18
)
ralink: fix audio recording
author
John Crispin
<john@openwrt.org>
Wed, 9 Dec 2015 11:25:01 +0000
(11:25 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 9 Dec 2015 11:25:01 +0000
(11:25 +0000)
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>
SVN-Revision: 47812
target/linux/ramips/patches-3.18/500-alsa.patch
patch
|
blob
|
history
diff --git
a/target/linux/ramips/patches-3.18/500-alsa.patch
b/target/linux/ramips/patches-3.18/500-alsa.patch
index d6d489249fd6fef034bede03083d7c5bd4895e42..41fbb8407c7901c223e521f8ae4dc901ce4980f9 100644
(file)
--- 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_
t
x_end_sleep_on(rtd);
++ i2s_
r
x_end_sleep_on(rtd);
+ tasklet_kill(&i2s_rx_tasklet);
+ i2s_rx_disable(rtd);
+ //mt76xx_pcm_free_dma_buffer(substream,substream->stream);