ASoC: fsl_sai: Fix incorrect register writing in fsl_sai_isr()
authorNicolin Chen <nicoleotsuka@gmail.com>
Thu, 17 Jul 2014 13:21:38 +0000 (21:21 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 17 Jul 2014 17:10:41 +0000 (18:10 +0100)
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>
sound/soc/fsl/fsl_sai.c

index b10dbd835d5c59439226479e763e932e324a57ae..1b6ee2ce849fa2469b0b98d4519f71083cde54d7 100644 (file)
@@ -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)