Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp255755pxf; Wed, 24 Mar 2021 04:32:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUbSzaZJdDUzJq9qg0xw3yqwPNRU9jQLL5P4OfgQUinkkups3kmvimuDSnh9uJtYo2fA6u X-Received: by 2002:a17:906:ccde:: with SMTP id ot30mr3157806ejb.550.1616585527854; Wed, 24 Mar 2021 04:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616585527; cv=none; d=google.com; s=arc-20160816; b=IVJrKHhv3IxzXNG50/R0gUwaR5mf/TEWsMxXMC79/ijAaqNQFZAwRQ5iFhRICoHoH2 1Ph/wAwnUTHFgqlasLTXJ6gkb9QEAcOtKGPJJjU+GAw/2FO+3LrT3mY7JOGcRMNjiGfB SyufBkV5W40mEGu5+Ej9kdKlOb12AiO4Ggv/Ft3GKyqfAuFtbXm76wctoxRPJHXJoCXd h/5rD3LgZKWQNWjkVcP9Mowg2BA4pgG0/wFRtfag/zklg6/65a7RAWAfyzSuGHnWb9E7 +GRu55bLnSHK0rSd6MSHBmLvedJC4xGJJvhDMA3XoIAZx2TrPSe175PO3bFTPIImFkn2 pr6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=K6pvE1hFYMDjKQFNA3zw2kWVivswwq9gibeQXQ6Fo4Y=; b=v8fjHgM82asTBTs8wd5PQKMa4dsgy25lnWUtXhbmnkgW5pYprci3ldN7g1g1Ww0ME7 bPEbnj+Xfbny4JRASLF+WEl1XSBksb9vnZIyLFpC1MciE8zcJL8FFFE8QqIDMrrnBD3D GycEpW5kFFWv78OlUkHX0a2lnkttuFD5PIg2gX7fv9QzgY+NgrESQpbG2LGhSB2hYqvM H5Dn1UAGRxCqxAERNTZbsuPzAhW4SH8e60cCX+juB4kIKrig/EXqu2dx/SGKx61HlDla 85mFoCCnOAupn9CGBMJUZIF7zTr50/IrS7RXWZH+qLNUzZpaG12IuG2YCyczSQKr1jm3 GIsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si1510670ejf.242.2021.03.24.04.31.45; Wed, 24 Mar 2021 04:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235572AbhCXKNf (ORCPT + 99 others); Wed, 24 Mar 2021 06:13:35 -0400 Received: from inva020.nxp.com ([92.121.34.13]:35896 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbhCXKNH (ORCPT ); Wed, 24 Mar 2021 06:13:07 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8140A1A27DC; Wed, 24 Mar 2021 11:13:03 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6F98E1A1D0A; Wed, 24 Mar 2021 11:12:59 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C03284029B; Wed, 24 Mar 2021 11:12:29 +0100 (CET) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] ASoC: fsl: Don't use devm_regmap_init_mmio_clk Date: Wed, 24 Mar 2021 17:58:42 +0800 Message-Id: <1616579928-22428-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When there is power domain bind with ipg clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regmap_init_mmio_clk. Shengjiu Wang (6): ASoC: fsl_esai: Don't use devm_regmap_init_mmio_clk ASoC: fsl_spdif: Don't use devm_regmap_init_mmio_clk ASoC: fsl_asrc: Don't use devm_regmap_init_mmio_clk ASoC: fsl_easrc: Don't use devm_regmap_init_mmio_clk ASoC: fsl_audmix: Don't use devm_regmap_init_mmio_clk ASoC: fsl_micfil: Don't use devm_regmap_init_mmio_clk sound/soc/fsl/fsl_asrc.c | 57 +++++++++++++++++++++++++++++--------- sound/soc/fsl/fsl_audmix.c | 3 +- sound/soc/fsl/fsl_easrc.c | 3 +- sound/soc/fsl/fsl_esai.c | 48 ++++++++++++++++++++++++-------- sound/soc/fsl/fsl_micfil.c | 25 +++++++++++++---- sound/soc/fsl/fsl_spdif.c | 3 +- 6 files changed, 103 insertions(+), 36 deletions(-) -- 2.27.0