From 38e7f5d1b73e71f87745a9c3e5806a6c28c34a53 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 17 May 2012 13:59:40 +0100 Subject: [PATCH] regmap: Fix typo in IRQ register striding Signed-off-by: Mark Brown --- drivers/base/regmap/regmap-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 502cbdbab638..4fac4b9be88f 100644 --- a/drivers/base/regmap/regmap-irq.c +++ b/drivers/base/regmap/regmap-irq.c @@ -116,7 +116,7 @@ static irqreturn_t regmap_irq_thread(int irq, void *d) * doing a write per register. */ for (i = 0; i < data->chip->num_regs; i++) { - ret = regmap_read(map, chip->mask_base + (i * map->reg_stride + ret = regmap_read(map, chip->status_base + (i * map->reg_stride * data->irq_reg_stride), &data->status_buf[i]); -- 2.20.1