diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2020-06-18 21:12:22 +0300 |
---|---|---|
committer | Daniel Baluta <daniel.baluta@nxp.com> | 2020-06-19 17:01:30 +0300 |
commit | b3adec224c89003919743e6764b9dbb751983894 (patch) | |
tree | bbb0246ac967905aecfc610e4c13e15ebb911771 /sound/soc/fsl/fsl_dsp_audiomix.c | |
parent | 5691e22711a4ee70f473e909d7aae76a966d819d (diff) |
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 <daniel.baluta@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_audiomix.c')
-rw-r--r-- | sound/soc/fsl/fsl_dsp_audiomix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |