]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: twl6040: No need to read the INTID register
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 23 Sep 2011 06:52:02 +0000 (09:52 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 23 Sep 2011 10:54:24 +0000 (11:54 +0100)
commit480807ba0f8b10f5022d853b31ac56d05d119b4b
tree6ff4557b1d4bffb0035585cb38a26df03159950b
parent509e94fc2022cf4a492869e08932769f5bbd7197
ASoC: twl6040: No need to read the INTID register

Since our irq handler has been called, it is granted, that
the reason was either PLUGINT, or UNPLUGINT.
The INTID register has been checked in the MFD part of
twl6040 driver (twl6040-irq.c).
We have no reason to read from chip again here.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c