diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2014-07-17 09:21:38 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-17 13:10:41 -0400 |
commit | 4800f88b615f194ae3c1577038a7ccd871c907c9 (patch) | |
tree | ee5b989575761a29a69f0c245b429f71347d3d5b /sound/soc/fsl/fsl_sai.c | |
parent | eff952b733d4c1ff3a6b35accce940b223372978 (diff) |
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/fsl_sai.c')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 2 |
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: | |||
106 | xcsr &= ~FSL_SAI_CSR_xF_MASK; | 106 | xcsr &= ~FSL_SAI_CSR_xF_MASK; |
107 | 107 | ||
108 | if (flags) | 108 | if (flags) |
109 | regmap_write(sai->regmap, FSL_SAI_TCSR, flags | xcsr); | 109 | regmap_write(sai->regmap, FSL_SAI_RCSR, flags | xcsr); |
110 | 110 | ||
111 | out: | 111 | out: |
112 | if (irq_none) | 112 | if (irq_none) |