projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ffba6
)
mfd: Use pmic regmap to read max77686 pmic interrupt register
author
Yadwinder Singh Brar
<yadi.brar01@gmail.com>
Thu, 5 Jul 2012 03:58:20 +0000
(09:28 +0530)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 9 Jul 2012 13:13:41 +0000
(15:13 +0200)
PMIC's regmap should be used to read pmic interrupt registers.
Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max77686-irq.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/max77686-irq.c
b/drivers/mfd/max77686-irq.c
index
fc10122
..
09e593a
100644
(file)
--- a/
drivers/mfd/max77686-irq.c
+++ b/
drivers/mfd/max77686-irq.c
@@
-180,7
+180,7
@@
static irqreturn_t max77686_irq_thread(int irq, void *data)
pr_info("%s: irq_src=0x%x\n", __func__, irq_src);
if (irq_src == MAX77686_IRQSRC_PMIC) {
- ret = regmap_bulk_read(max77686->r
tc_r
egmap,
+ ret = regmap_bulk_read(max77686->regmap,
MAX77686_REG_INT1, irq_reg, 2);
if (ret < 0) {
dev_err(max77686->dev, "Failed to read interrupt source: %d\n",