Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350377
b: refs/heads/master
c: 33be493
h: refs/heads/master
i:
  350375: d3780fa
v: v3
  • Loading branch information
Mark Brown committed Jan 4, 2013
1 parent ed2a38e commit 6bfee79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7440eaa90cf2659920b9b28973cc1a13a2b331f
refs/heads/master: 33be49324f7f3e9dff10d3d07a5c78ee82f8d54e
11 changes: 11 additions & 0 deletions trunk/drivers/base/regmap/regmap-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ static void regmap_irq_sync_unlock(struct irq_data *data)
if (ret != 0)
dev_err(d->map->dev, "Failed to sync masks in %x\n",
reg);

reg = d->chip->wake_base +
(i * map->reg_stride * d->irq_reg_stride);
if (d->wake_buf) {
ret = regmap_update_bits(d->map, reg,
d->mask_buf_def[i], d->wake_buf[i]);
if (ret != 0)
dev_err(d->map->dev,
"Failed to sync wakes in %x: %d\n",
reg, ret);
}
}

if (d->chip->runtime_pm)
Expand Down

0 comments on commit 6bfee79

Please sign in to comment.