projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22dc008
)
rk30:phone:report key for suspend and resume
author
张晴
<zhangqing@rock-chips.com>
Wed, 9 May 2012 08:55:33 +0000
(16:55 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Wed, 9 May 2012 08:55:33 +0000
(16:55 +0800)
drivers/input/misc/twl6030-pwrbutton.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/twl6030-pwrbutton.c
b/drivers/input/misc/twl6030-pwrbutton.c
index 3b5b76191a7c1b419f3803c81d9fefb0282900c1..051a056276df4b6c2c92c4cdaad26b3d774fb0ae 100644
(file)
--- a/
drivers/input/misc/twl6030-pwrbutton.c
+++ b/
drivers/input/misc/twl6030-pwrbutton.c
@@
-123,7
+123,7
@@
static int __devinit twl6030_pwrbutton_probe(struct platform_device *pdev)
__set_bit(EV_KEY, pwr_button->input_dev->evbit);
- pwr_button->report_key = KEY_
END
;
+ pwr_button->report_key = KEY_
POWER
;
pwr_button->dev = &pdev->dev;
pwr_button->input_dev->evbit[0] = BIT_MASK(EV_KEY);
pwr_button->input_dev->keybit[BIT_WORD(pwr_button->report_key)] =