diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 13:59:40 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 22:59:24 +0100 |
commit | 38e7f5d1b73e71f87745a9c3e5806a6c28c34a53 (patch) | |
tree | e0dd16a9be4f117d43d9a3afbd012e0d80304354 /drivers/base | |
parent | 6550334f96ab02e540572a142d0851c7f3120585 (diff) | |
download | linux-3.10-38e7f5d1b73e71f87745a9c3e5806a6c28c34a53.tar.gz linux-3.10-38e7f5d1b73e71f87745a9c3e5806a6c28c34a53.tar.bz2 linux-3.10-38e7f5d1b73e71f87745a9c3e5806a6c28c34a53.zip |
regmap: Fix typo in IRQ register striding
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base')
-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 502cbdbab63..4fac4b9be88 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]); |