[alsa-devel] sgtl5000 fails after suspend/resume

Fabio Estevam festevam at gmail.com
Thu Feb 15 19:11:23 CET 2018


On Thu, Feb 15, 2018 at 2:36 PM, Fabio Estevam <festevam at gmail.com> wrote:

> Or if I do the change below against linux-next it also works:
>
> --- a/sound/soc/codecs/sgtl5000.c
> +++ b/sound/soc/codecs/sgtl5000.c
> @@ -880,8 +880,6 @@ static int sgtl5000_set_bias_level(struct
> snd_soc_component *component,
>                                     SGTL5000_REFTOP_POWERUP);
>                 break;
>         case SND_SOC_BIAS_OFF:
> -               snd_soc_component_update_bits(component,
> SGTL5000_CHIP_ANA_POWER,
> -                                   SGTL5000_REFTOP_POWERUP, 0);
>                 break;
>         }
>
> Any suggestions for a proper fix? Eric?

I sent a patch that that removes sgtl5000_set_bias_level() completely
and fixes the sgtl5000 suspend/resume issue.


More information about the Alsa-devel mailing list