regmap: Fix typo in IRQ register striding
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 May 2012 12:59:40 +0000 (13:59 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 May 2012 21:59:24 +0000 (22:59 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-irq.c

index 502cbdb..4fac4b9 100644 (file)
@@ -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]);