Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346957
b: refs/heads/master
c: f321981
h: refs/heads/master
i:
  346955: 0be5221
v: v3
  • Loading branch information
Peter Ujfalusi authored and Dmitry Torokhov committed Nov 24, 2012
1 parent 514ad93 commit 5b53fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 6ea32387a0c7fb9ca0213fd22b47c5a1ca4c2972
refs/heads/master: f32198176598fffdc8dca65a1a719dd9fba7d581
3 changes: 1 addition & 2 deletions trunk/drivers/input/misc/twl4030-pwrbutton.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ static irqreturn_t powerbutton_irq(int irq, void *_pwr)
int err;
u8 value;

err = twl_i2c_read_u8(TWL4030_MODULE_PM_MASTER, &value,
STS_HW_CONDITIONS);
err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &value, STS_HW_CONDITIONS);
if (!err) {
pm_wakeup_event(pwr->dev.parent, 0);
input_report_key(pwr, KEY_POWER, value & PWR_PWRON_IRQ);
Expand Down

0 comments on commit 5b53fca

Please sign in to comment.