mfd: MAX77693: Fix interrupt handling bug
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 21 Aug 2012 06:15:52 +0000 (15:15 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 15 Sep 2012 22:32:57 +0000 (00:32 +0200)
commitd51f42d2c5b7e11b47876b8b5c53f0ac317fef24
treec017d042d4246b2a5ade7e526f17c3671ef08d11
parent0848c94fb4a5cc213a7fb0fb3a5721ad6e16f096
mfd: MAX77693: Fix interrupt handling bug

This patch fix bug related to interrupt handling for MAX77693 devices.
- Unmask interrupt masking bit for charger/flash/muic to revolve
that interrupt isn't happened when external connector is attached.
- Fix wrong regmap instance when muic interrupt is happened.

This patch were discussed and confirm discussion about this patch on below url:
http://lkml.org/lkml/2012/7/16/118

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max77693-irq.c