mfd: tps65910: Fix wrong ack_base register
authorKim, Milo <Milo.Kim@ti.com>
Thu, 29 Nov 2012 06:42:12 +0000 (06:42 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 30 Nov 2012 11:20:48 +0000 (12:20 +0100)
commit0582c0fafc36e4a1f2067ea8377c9902cc7997bf
tree4eeee285894e4931306c5c1288feee720115350d
parent0e5fca8106199f5c680bb93e75c16381c4c256ce
mfd: tps65910: Fix wrong ack_base register

The interrupt status registers of TPS65910/1 should be cleared
when the associated interrupt event occurs.
This work is done in the regmap irq thread - using 'ack_base' register.
The ACK registers should be fixed as status register, not mask registers.

This patch fixes the infinite interrupt event problem by clearing
interrupt status registers.

Tested on the AM3517 Craneboard.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65910.c