diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 08:59:40 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 17:59:24 -0400 |
commit | 38e7f5d1b73e71f87745a9c3e5806a6c28c34a53 (patch) | |
tree | e0dd16a9be4f117d43d9a3afbd012e0d80304354 /drivers/base/regmap/regmap-irq.c | |
parent | 6550334f96ab02e540572a142d0851c7f3120585 (diff) |
regmap: Fix typo in IRQ register striding
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regmap-irq.c')
-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 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) | |||
116 | * doing a write per register. | 116 | * doing a write per register. |
117 | */ | 117 | */ |
118 | for (i = 0; i < data->chip->num_regs; i++) { | 118 | for (i = 0; i < data->chip->num_regs; i++) { |
119 | ret = regmap_read(map, chip->mask_base + (i * map->reg_stride | 119 | ret = regmap_read(map, chip->status_base + (i * map->reg_stride |
120 | * data->irq_reg_stride), | 120 | * data->irq_reg_stride), |
121 | &data->status_buf[i]); | 121 | &data->status_buf[i]); |
122 | 122 | ||