Skip to content

Commit

Permalink
mfd: Use pmic regmap to read max77686 pmic interrupt register
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yadwinder Singh Brar authored and Samuel Ortiz committed Jul 9, 2012
1 parent 17ffba6 commit 84d70ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/max77686-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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->rtc_regmap,
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",
Expand Down

0 comments on commit 84d70ee

Please sign in to comment.