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>
This commit is contained in:
parent
eff952b733
commit
4800f88b61
|
@ -106,7 +106,7 @@ irq_rx:
|
||||||
xcsr &= ~FSL_SAI_CSR_xF_MASK;
|
xcsr &= ~FSL_SAI_CSR_xF_MASK;
|
||||||
|
|
||||||
if (flags)
|
if (flags)
|
||||||
regmap_write(sai->regmap, FSL_SAI_TCSR, flags | xcsr);
|
regmap_write(sai->regmap, FSL_SAI_RCSR, flags | xcsr);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (irq_none)
|
if (irq_none)
|
||||||
|
|
Loading…
Reference in New Issue