summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_cpu.h
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-01-09 10:12:16 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:52:16 +0800
commit248f112adbc078c51209bb1838c081450c442908 (patch)
treee442193399e9d1fa3438d9de15137ed68f9c02ac /sound/soc/fsl/fsl_dsp_cpu.h
parente8d93a7218db71fe798d797f3713b0f37b43bedc (diff)
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 <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_cpu.h')
-rw-r--r--sound/soc/fsl/fsl_dsp_cpu.h7
1 files changed, 0 insertions, 7 deletions
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*/