ASoC: fsl_sai: Improve fsl_sai_isr()
authorNicolin Chen <Guangyu.Chen@freescale.com>
Fri, 28 Mar 2014 11:39:25 +0000 (19:39 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:26:05 +0000 (17:26 +0100)
commit413312aa17ceefe7003ad690778ab72f023128f0
tree72d5103b91be1b4c611dec70118cc41057652381
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
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>
sound/soc/fsl/fsl_sai.c