diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-05-06 13:33:54 +0800 |
---|---|---|
committer | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-05-07 17:17:27 +0800 |
commit | 4ac1cd11362535169992111db518e3e789f66fe7 (patch) | |
tree | a7d5acd8b70abbc6914fa18975087cc145a72724 /sound/soc/fsl/fsl_aud2htx.c | |
parent | ae7f915cec97fa3ab6363d6dd14dac1158b1dfb7 (diff) |
MLK-23906-1: ASoC: fsl_aud2htx: Don't bind clock with regmap
The call flow:
devm_regmap_init_mmio_clk
- clk_prepare()
- clk_pm_runtime_get()
Cause the power domain of bus clock always be enabled.
which impact the power consumption.
So we can't bind clock with regmap, then explicitly enable
clock when using.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_aud2htx.c')
-rw-r--r-- | sound/soc/fsl/fsl_aud2htx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_aud2htx.c b/sound/soc/fsl/fsl_aud2htx.c index 747fa40ac997..bb689ed93d05 100644 --- a/sound/soc/fsl/fsl_aud2htx.c +++ b/sound/soc/fsl/fsl_aud2htx.c @@ -236,7 +236,7 @@ static int fsl_aud2htx_probe(struct platform_device *pdev) return PTR_ERR(regs); } - aud2htx->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "bus", regs, + aud2htx->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, regs, &fsl_aud2htx_regmap_config); if (IS_ERR(aud2htx->regmap)) { dev_err(&pdev->dev, "failed to init regmap"); |