From patchwork Tue Jul 7 20:57:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 11650275 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F564912 for ; Tue, 7 Jul 2020 21:01:20 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E14A2075B for ; Tue, 7 Jul 2020 21:01:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="AQ4S793l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E14A2075B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0F236167E; Tue, 7 Jul 2020 23:00:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0F236167E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1594155678; bh=mAfiToesfvz341cKew5cRW/EzL/9sziRc3jjcSBvbuQ=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=AQ4S793ldbjo0ZDd3h2KeRirGx4C/gVt9/SDEoRiqk+SYayCqx5CQ9S7HZV2r5qAI 6Pz4bufxOKi5gIbbkGAd7kGA8f0AWI3SmGm78rsyCVekTA8be09eLvxdONNz5HlR/T NyBIbxqaJ7M3wEawmL2SwciMG2pf3Q8NsWBQgvZ4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B4589F802DD; Tue, 7 Jul 2020 22:58:11 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0BF00F80257; Tue, 7 Jul 2020 22:58:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D4748F80257 for ; Tue, 7 Jul 2020 22:57:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D4748F80257 IronPort-SDR: sLeDv9H3ydYK7BcJg0YUGVzRkq4Hne9tvizSh6aG92IXapLp6hbfoUQkg5bCPpMmybRrnoH3iL KIRk4IA6mHuw== X-IronPort-AV: E=McAfee;i="6000,8403,9675"; a="146762916" X-IronPort-AV: E=Sophos;i="5.75,325,1589266800"; d="scan'208";a="146762916" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2020 13:57:53 -0700 IronPort-SDR: 30qYnOwhP6jGrnxAPwtv8k4s082mRVv9MoQOdZWf1FPB3T8kQc5HKX/+OQBau/C4p6lQWGmzlr wl9kvHd99wuQ== X-IronPort-AV: E=Sophos;i="5.75,325,1589266800"; d="scan'208";a="305796646" Received: from colvinch-mobl.amr.corp.intel.com (HELO pbossart-mobl3.amr.corp.intel.com) ([10.255.229.3]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2020 13:57:52 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Subject: [PATCH v2 3/6] ASoc: codecs: max98373: remove Idle_bias_on to let codec suspend Date: Tue, 7 Jul 2020 15:57:37 -0500 Message-Id: <20200707205740.114927-4-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707205740.114927-1-pierre-louis.bossart@linux.intel.com> References: <20200707205740.114927-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Cc: Ryan Lee , Kai Vehmanen , tiwai@suse.de, Pierre-Louis Bossart , broonie@kernel.org, randerwang X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: randerwang Idle_bias_on is used to decide bias on/off in standby state by dapm. When Idle_bias_on is set to one, dapm will keep max98373 active at idle time. Max98373 is doing nothing in this state, so remove idle_bias_on setting to let max98373 get suspended when it is idle. Reviewed-by: Ryan Lee Reviewed-by: Kai Vehmanen Signed-off-by: randerwang Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/max98373.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index c3202c1dc517..bf5572fc4f66 100644 --- a/sound/soc/codecs/max98373.c +++ b/sound/soc/codecs/max98373.c @@ -390,7 +390,6 @@ const struct snd_soc_component_driver soc_codec_dev_max98373 = { .num_dapm_widgets = ARRAY_SIZE(max98373_dapm_widgets), .dapm_routes = max98373_audio_map, .num_dapm_routes = ARRAY_SIZE(max98373_audio_map), - .idle_bias_on = 1, .use_pmdown_time = 1, .endianness = 1, .non_legacy_dai_naming = 1,