AnsweredAssumed Answered

[yocto]SGTL5000: Restart SGTL5000- card registration fails

Question asked by Joel Munoz on May 9, 2017
Latest reply on May 10, 2017 by Joel Munoz

Dears members


I have a Wandboard platform (which has an SGTL5000 audio codec) running a Linux image (Linux wandboard 3.14.28_1.0.0_ga-wandboard). While I use this platform with headphones


it works OK.


On the other side, when I used a little amplifier LM386

<WANDBOARD/LINEOUT>-------> <resistor><LM386><SPEAKER>

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

POWER SOURCE 1                              POWER SOURCE 2 (Both grounds are connected)

, it works fine. However, after some minutes, it stop working. In order to recover it, I rebooted the system, but without any success.  In addition, once the reboot was finished, the "dmesg" command returned the following lines


[ 5.491631] imx-sgtl5000 sound.20: ASoC: CODEC (null) not registered
[ 5.496951] imx-sgtl5000 sound.20: snd_soc_register_card failed (-517)
[ 5.502196] platform sound.20: Driver imx-sgtl5000 requests probe deferra


The only way I found to restart the system is power-cycling the board.


Do you know any way I have to follow in order to recover the IC without need power-cycling the board? In addition, which circuit recommendation do you suggest?


Thank you very much for your help and support.