i..MX6 SDMA: How to recover channel 0 when it stalls

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i..MX6 SDMA: How to recover channel 0 when it stalls

1,306 Views
mmj
Contributor III

Very occasionally, my system hits this sdma error.

<3>imx-sdma 20ec000.sdma: Timeout waiting for CH0 ready
<3>fsl-ssi-dai 202c000.ssi: ASoC: 202c000.ssi hw params failed: -110

This error is reported by the function sdma_run_channel0() when performing sdma_load_script()/sdma_load_context(). Keep retrying still reports the same error.

What can be the possible causes of this problem and how to recover the SDMA channel 0 for such error?

My BSP version is Android L5.0.0_1.0.0-ga release. The kernel sdma & ssi drivers are generic from the BSP and we had never modify them.

Thank you for your kind attention.

Labels (3)
Tags (1)
0 Kudos
1 Reply

959 Views
igorpadykov
NXP Employee
NXP Employee

Hi

in general this could be when CCM_CGPR sdma clocks are gated for some reason.

Also one can try to increase timer value in codes
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-April/096622.html

Had you changed sources, as this could be just misconfiguration issue.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos