diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 12:59:40 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 21:59:24 (GMT) |
commit | 38e7f5d1b73e71f87745a9c3e5806a6c28c34a53 (patch) | |
tree | e0dd16a9be4f117d43d9a3afbd012e0d80304354 /drivers/base/regmap | |
parent | 6550334f96ab02e540572a142d0851c7f3120585 (diff) | |
download | linux-38e7f5d1b73e71f87745a9c3e5806a6c28c34a53.tar.xz |
regmap: Fix typo in IRQ register striding
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r-- | drivers/base/regmap/regmap-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 502cbdb..4fac4b9 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]); |