Hi
We use i.MX6 and sgtl5000 on fsl-yocto-3.14.52 , and we found a issue that sgtl5000 cause system can't wake up after suspend.
Please help to solve this issue
Thanks
The issue you mention is not the known one. Why do you think that SGTL5000 causes the system to not wake up after suspend? Please describe in more details.
Have a great day,
Artur
Hi Artur
Because when I modiy code as below, it works fine
static int sgtl5000_resume(struct snd_soc_codec *codec)
{
/* Bring the codec back up to standby to enable regulators */
sgtl5000_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
/* Restore registers by cached in memory */
//sgtl5000_restore_regs(codec);
return 0;
}
Hi Charles,
I also have this problem. Removing the call to restore_regs() fixes the problem as you have suggested.
The system seems to operate correctly with this call removed, and I couldn't actually find where the regs are saved e.g. during suspend.
Did you find out further why this is happening?
I am using the 3.14.52 - lp5.1.1-2.0.0-ga kernel.
I will look in the newer kernels for changes in the code.
James