Commit 38e7f5d1 authored by Mark Brown's avatar Mark Brown

regmap: Fix typo in IRQ register striding

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 6550334f
...@@ -116,7 +116,7 @@ static irqreturn_t regmap_irq_thread(int irq, void *d) ...@@ -116,7 +116,7 @@ static irqreturn_t regmap_irq_thread(int irq, void *d)
* doing a write per register. * doing a write per register.
*/ */
for (i = 0; i < data->chip->num_regs; i++) { 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->irq_reg_stride),
&data->status_buf[i]); &data->status_buf[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment