aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2014-07-17 21:21:38 +0800
committerMark Brown <broonie@linaro.org>2014-07-17 18:10:41 +0100
commit4800f88b615f194ae3c1577038a7ccd871c907c9 (patch)
treeee5b989575761a29a69f0c245b429f71347d3d5b /sound/soc/fsl
parentASoC: fsl_sai: Reset FIFOs after disabling TE/RE (diff)
downloadlinux-dev-4800f88b615f194ae3c1577038a7ccd871c907c9.tar.xz
linux-dev-4800f88b615f194ae3c1577038a7ccd871c907c9.zip
ASoC: fsl_sai: Fix incorrect register writing in fsl_sai_isr()
In the rx irq handling part, we should clear the flags in RCSR not TCSR. Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_sai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index b10dbd835d5c..1b6ee2ce849f 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -106,7 +106,7 @@ irq_rx:
xcsr &= ~FSL_SAI_CSR_xF_MASK;
if (flags)
- regmap_write(sai->regmap, FSL_SAI_TCSR, flags | xcsr);
+ regmap_write(sai->regmap, FSL_SAI_RCSR, flags | xcsr);
out:
if (irq_none)