diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-03-17 18:26:44 +0800 |
---|---|---|
committer | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-03-18 15:41:46 +0800 |
commit | ee1a47b87fff88e7cb97bc6dce0a8a7fafbd38bc (patch) | |
tree | 6ea79f9796cd998456bda52f6a69e5c88709d18b /sound/soc/fsl/fsl_dsp.h | |
parent | c43a9a158c43e55151c9d4e17ce2e38d40e1fa44 (diff) |
MLK-23618-6: ASoC: fsl_dsp: refine handling of multi power domain
The attached multi power domain is enabled by device_link_add
So we need to disable them in probe, otherwise it may impact
the power consumption.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp.h')
-rw-r--r-- | sound/soc/fsl/fsl_dsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp.h b/sound/soc/fsl/fsl_dsp.h index c731cd9a0e94..d074cc8008db 100644 --- a/sound/soc/fsl/fsl_dsp.h +++ b/sound/soc/fsl/fsl_dsp.h @@ -117,6 +117,9 @@ struct fsl_dsp { struct clk *dsp_root_clk; struct clk *debug_clk; struct clk *mu2_clk; + struct device **pd_dev; + struct device_link **pd_dev_link; + int num_domains; }; #define IRAM_OFFSET 0x10000 |