diff options
| author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2021-03-19 16:06:43 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-03-22 12:32:21 +0000 |
| commit | 2277e7e36b4b8c27eb8d2fb33a20440bc800c2d7 (patch) | |
| tree | 469feeafad04e753a118aaa22156a4c1bfa057de /scripts/gdb/linux/utils.py | |
| parent | 7e71b48f9e27e437ca523432ea285c2585a539dc (diff) | |
ASoC: fsl_sai: Don't use devm_regmap_init_mmio_clk
When there is power domain bind with bus 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, then explicitly enable clock when
using by pm_runtime_get(), if CONFIG_PM=n, then
fsl_sai_runtime_resume will be explicitly called.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Link: https://lore.kernel.org/r/1616141203-13344-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
