Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319700
b: refs/heads/master
c: 7fdb5d3
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jul 8, 2012
1 parent 3842996 commit 62c3def
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52b461b86a9f6c7a86bdcb858e1bbef089fbe6a0
refs/heads/master: 7fdb5d32614f7784fc7c2b8e883eb4da26358a94
8 changes: 3 additions & 5 deletions trunk/drivers/mfd/wm8350-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,9 @@ static void wm8350_irq_sync_unlock(struct irq_data *data)
for (i = 0; i < ARRAY_SIZE(wm8350->irq_masks); i++) {
/* If there's been a change in the mask write it back
* to the hardware. */
if (wm8350->irq_masks[i] !=
wm8350->reg_cache[WM8350_INT_STATUS_1_MASK + i])
WARN_ON(wm8350_reg_write(wm8350,
WM8350_INT_STATUS_1_MASK + i,
wm8350->irq_masks[i]));
WARN_ON(regmap_update_bits(wm8350->regmap,
WM8350_INT_STATUS_1_MASK + i,
0xffff, wm8350->irq_masks[i]));
}

mutex_unlock(&wm8350->irq_lock);
Expand Down

0 comments on commit 62c3def

Please sign in to comment.