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)
commitf34c660662cc2b6e133083160bf6a3c77f11886e
tree6ff4557b1d4bffb0035585cb38a26df03159950b
parent3b5b516fbf7a057b6e2d115c301fec2e206eb6ea
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