mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
3dd2d2c152
commit
5d1ab54bd8
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user