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.h | |
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.h')
-rw-r--r-- | sound/soc/fsl/fsl_dsp_audiomix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp_audiomix.h b/sound/soc/fsl/fsl_dsp_audiomix.h index ff251021a6a4..810efbaafff0 100644 --- a/sound/soc/fsl/fsl_dsp_audiomix.h +++ b/sound/soc/fsl/fsl_dsp_audiomix.h @@ -13,6 +13,8 @@ #define AudioDSP_REG2 0x108 #define AudioDSP_REG3 0x10c +#define AudioDSP_REG2_RUNSTALL BIT(5) + struct imx_audiomix_dsp_data; void imx_audiomix_dsp_start(struct imx_audiomix_dsp_data *data); void imx_audiomix_dsp_pid_set(struct imx_audiomix_dsp_data *data, u32 val); |