summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_esai.h
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-02-10 14:47:17 +0800
committerMark Brown <broonie@linaro.org>2014-02-10 13:39:18 +0000
commit236014ac7a6524f9f466139c2e47af70cb340ba3 (patch)
treea06b1ca496132399a99a21486e3744016580ea0d /sound/soc/fsl/fsl_esai.h
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
ASoC: fsl-esai: fix ESAI TDM slot setting
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Acked-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_esai.h')
-rw-r--r--sound/soc/fsl/fsl_esai.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_esai.h b/sound/soc/fsl/fsl_esai.h
index 9c9f957fcae1..75e14033e8d8 100644
--- a/sound/soc/fsl/fsl_esai.h
+++ b/sound/soc/fsl/fsl_esai.h
@@ -322,7 +322,7 @@
#define ESAI_xSMB_xS_SHIFT 0
#define ESAI_xSMB_xS_WIDTH 16
#define ESAI_xSMB_xS_MASK (((1 << ESAI_xSMB_xS_WIDTH) - 1) << ESAI_xSMB_xS_SHIFT)
-#define ESAI_xSMB_xS(v) (((v) >> ESAI_xSMA_xS_WIDTH) & ESAI_xSMA_xS_MASK)
+#define ESAI_xSMB_xS(v) (((v) >> ESAI_xSMA_xS_WIDTH) & ESAI_xSMB_xS_MASK)
/* Port C Direction Register -- REG_ESAI_PRRC 0xF8 */
#define ESAI_PRRC_PDC_SHIFT 0