From: Brian Austin Subject: Re: [PATCH 1/6] ASoC: cs42l52: Cleanup manual bias level transitions Date: Tue, 9 Sep 2014 13:47:45 -0500 Message-ID: References: <1410288165-32127-1-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0145.outbound.protection.outlook.com [207.46.163.145]) by alsa0.perex.cz (Postfix) with ESMTP id 1406F265335 for ; Tue, 9 Sep 2014 20:47:08 +0200 (CEST) In-Reply-To: <1410288165-32127-1-git-send-email-lars@metafoo.de> 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: Lars-Peter Clausen Cc: alsa-devel@alsa-project.org, Support Opensource , Brian Austin , Paul Handrigan , Liam Girdwood , Mark Brown List-Id: alsa-devel@alsa-project.org On Tue, 9 Sep 2014, Lars-Peter Clausen wrote: > Set the CODEC driver's suspend_bias_off flag rather than manually going to > SND_SOC_BIAS_OFF in suspend and SND_SOC_BIAS_STANDBY in resume. This makes > the code a bit shorter and cleaner. > > Since the ASoC core now takes care of setting the bias level to > SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually > anymore either. > > The manual transition to SND_SOC_BIAS_STANDBY at the end of CODEC probe() > can also be removed as the core will automatically do this after the CODEC > has been probed. > > Signed-off-by: Lars-Peter Clausen for the Cirrus ones. Thanks Acked-by: Brian Austin