regmap: Fix typo in IRQ register striding

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2012-05-17 13:59:40 +01:00
parent 6550334f96
commit 38e7f5d1b7
1 changed files with 1 additions and 1 deletions

View 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]);