diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2014-07-17 13:21:38 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-17 17:10:41 (GMT) |
commit | 4800f88b615f194ae3c1577038a7ccd871c907c9 (patch) | |
tree | ee5b989575761a29a69f0c245b429f71347d3d5b /sound/soc/fsl/fsl_sai.c | |
parent | eff952b733d4c1ff3a6b35accce940b223372978 (diff) | |
download | linux-4800f88b615f194ae3c1577038a7ccd871c907c9.tar.xz |
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 b10dbd8..1b6ee2c 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) |