mfd: tps80031: fix missed irq issue
authorSteve Kuo <stevek@nvidia.com>
Fri, 30 Mar 2012 07:00:38 +0000 (15:00 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 4 May 2012 14:32:22 +0000 (19:32 +0530)
commit61b1a6b19d0bd9e7e0c49f973d951f8f88af82ec
treece86b438a7a3d4ea53e02f46d2a38755a530dabe
parent7816c30f2323d6d34df67d52b4bcea41b2da2825
mfd: tps80031: fix missed irq issue

We found missed irq could be happened if clear all INT_STS_x register in one time.
Shadow register pushes the irq status after the first byte of INT_STS_x was cleared
The proposed way to clear interrupt is to write only one INT_STS_x register.
It will also clear the other two ones.

Bug 952476

Reviewed-on: http://git-master/r/93453
Signed-off-by: Steve Kuo <stevek@nvidia.com>

(cherry picked from commit 0c92f32e9e03defaeac991518b26134e59ef4db6)

Change-Id: I76179be4847f59a1687926b9b0dde6ebd3f58aa4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100306
drivers/mfd/tps80031.c