From ee1a47b87fff88e7cb97bc6dce0a8a7fafbd38bc Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Tue, 17 Mar 2020 18:26:44 +0800 Subject: 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 Reviewed-by: Daniel Baluta --- sound/soc/fsl/fsl_dsp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sound/soc/fsl/fsl_dsp.h') 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 -- cgit v1.2.3