freescale audio AIC31xx driver crash in Suspend to memory for i.MX6SL

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

freescale audio AIC31xx driver crash in Suspend to memory for i.MX6SL

655 Views
vincentchou
Contributor IV

Hi!  Friend,

Has anyone successfully integrated ALSA driver with 3.14.28 on i.MX6 Solo Lite?  We could try to use the codec in normal mode.  However, it would crash when I echo mem into /sys/power/state

The memory dump indicates the process is stopped during mutex_lock and snd_soc_suspend.  The audio codec we integrated is AIC31xx.  Could anyone share his/her experience to deal with the freescale audio codec driver problem?

Vincent

0 Kudos
2 Replies

484 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vincent

I believe suspend crashes mainly are caused by incorrect ddr settings, so

suggest to recheck them in first place. As for codec porting one can look at example

How to enable TLV320 on IMX6Q?

and attached Porting Guide Chapter 8 Porting Audio Codecs to a Custom Board

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

484 Views
vincentchou
Contributor IV

Hi! Igor,

Thanks!  I have already found the problem is caused by the enable sequence in the board.c file.  After I modify it, it works now.

Vincent

0 Kudos