diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-04-01 07:17:07 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 20:26:05 +0400 |
commit | 8abba5d64835c636d97ac0009ab7430ed832cb93 (patch) | |
tree | 76c002e8c80b6ed8a4859c2dbf9b1ea5edc2ab8e /sound/soc/fsl/fsl_sai.h | |
parent | e6b398465821fb8e08d208bd4ef2b5b73ce87b58 (diff) | |
download | linux-8abba5d64835c636d97ac0009ab7430ed832cb93.tar.xz |
ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams
We only enable one side interrupt for each stream since over/underrun
on the opposite stream would be resulted from what we previously did,
enabling TERE but remaining FRDE disabled, even though the xrun on the
opposite direction will not break the current stream.
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Acked-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.h')
-rw-r--r-- | sound/soc/fsl/fsl_sai.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index 64b6fe72cd08..be26d46ee737 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h @@ -58,6 +58,7 @@ #define FSL_SAI_CSR_FWF BIT(17) #define FSL_SAI_CSR_FRF BIT(16) #define FSL_SAI_CSR_xIE_SHIFT 8 +#define FSL_SAI_CSR_xIE_MASK (0x1f << FSL_SAI_CSR_xIE_SHIFT) #define FSL_SAI_CSR_WSIE BIT(12) #define FSL_SAI_CSR_SEIE BIT(11) #define FSL_SAI_CSR_FEIE BIT(10) |