From 248f112adbc078c51209bb1838c081450c442908 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 9 Jan 2019 10:12:16 +0800 Subject: MLK-20693-2: ASoC: fsl_dsp_cpu: remove the clock operation Remove the clock operation in cpu dai, all clock will be moved to platform driver. The reason is that the suspend and resume of dsp is handled in platform driver, if the clock is disabled before the suspend, the dsp framework can't access the registers of device in suspend. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_dsp_cpu.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sound/soc/fsl/fsl_dsp_cpu.h') diff --git a/sound/soc/fsl/fsl_dsp_cpu.h b/sound/soc/fsl/fsl_dsp_cpu.h index a6c1043a5908..dac10b4ab9d0 100644 --- a/sound/soc/fsl/fsl_dsp_cpu.h +++ b/sound/soc/fsl/fsl_dsp_cpu.h @@ -8,15 +8,8 @@ #ifndef __FSL_DSP_CPU_H #define __FSL_DSP_CPU_H -#define ASRC_CLK_MAX_NUM 4 - struct fsl_dsp_audio { struct platform_device *pdev; - struct clk *bus_clk; - struct clk *m_clk; - struct clk *asrc_mem_clk; - struct clk *asrc_ipg_clk; - struct clk *asrck_clk[ASRC_CLK_MAX_NUM]; }; #endif /*__FSL_DSP_CPU_H*/ -- cgit v1.2.3