From: Nicolin Chen Date: Thu, 17 Jul 2014 13:21:38 +0000 (+0800) Subject: ASoC: fsl_sai: Fix incorrect register writing in fsl_sai_isr() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4800f88b615f194ae3c1577038a7ccd871c907c9;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mark Brown --- 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)