From b3adec224c89003919743e6764b9dbb751983894 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Thu, 18 Jun 2020 21:12:22 +0300 Subject: MLK-24263-6 ASoC: fsl_dsp_audiomix: Remove hardcoded value Use a meaningful named macro to represent RunStall bit from AudioDSP_REG2 register. This register is used to Run/Stall the DSP. Signed-off-by: Daniel Baluta Reviewed-by: Shengjiu Wang --- sound/soc/fsl/fsl_dsp_audiomix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/fsl/fsl_dsp_audiomix.c') diff --git a/sound/soc/fsl/fsl_dsp_audiomix.c b/sound/soc/fsl/fsl_dsp_audiomix.c index 20a76d424500..ba7730b54cd2 100644 --- a/sound/soc/fsl/fsl_dsp_audiomix.c +++ b/sound/soc/fsl/fsl_dsp_audiomix.c @@ -21,7 +21,7 @@ void imx_audiomix_dsp_start(struct imx_audiomix_dsp_data *data) u32 val; val = readl(data->base + AudioDSP_REG2); - val &= ~(1 << 5); + val &= ~AudioDSP_REG2_RUNSTALL; writel(val, data->base + AudioDSP_REG2); } EXPORT_SYMBOL(imx_audiomix_dsp_start); -- cgit v1.2.3