From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Subject: Re: sgtl5000 fails after suspend/resume Date: Thu, 15 Feb 2018 16:11:23 -0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by alsa0.perex.cz (Postfix) with ESMTP id 49335267CD7 for ; Thu, 15 Feb 2018 19:11:25 +0100 (CET) Received: by mail-oi0-f50.google.com with SMTP id x21so438472oie.13 for ; Thu, 15 Feb 2018 10:11:24 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org, Eric Nelson Cc: Max Krummenacher , Stefan Agner , Gary Bisson , Mark Brown , Sascha Hauer , Richard Leitner List-Id: alsa-devel@alsa-project.org On Thu, Feb 15, 2018 at 2:36 PM, Fabio Estevam 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.