]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl_sai: Improve fsl_sai_isr()
authorNicolin Chen <Guangyu.Chen@freescale.com>
Fri, 28 Mar 2014 11:39:25 +0000 (19:39 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:47 +0000 (21:16 -0600)
commited5e1cfbad32ccc5cd061b2fc7cb36dc1ae956e9
treebb62d666bc6ca156be0195f59fa5812a3d0d8b28
parent05688387e3d235d1b9ac96ddc0814d7b030d7d71
ASoC: fsl_sai: Improve fsl_sai_isr()

This patch improves fsl_sai_isr() in these ways:
1, Add comment for mask fetching code.
2, Return IRQ_NONE if the IRQ is not for the device.
3, Use regmap_write() instead of regmap_update_bits().

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 413312aa17ceefe7003ad690778ab72f023128f0)
sound/soc/fsl/fsl_sai.c