OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e57bb43
)
extcon: usb-gpio: Do not enable USB as wakeup source by default
author
Peter Chen
<peter.chen@nxp.com>
Mon, 13 Feb 2017 09:21:52 +0000
(17:21 +0800)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Thu, 6 Apr 2017 01:55:20 +0000
(10:55 +0900)
Whether the USB port as a wakeup source should be determined by user,
but not enabled by default.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-usb-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-usb-gpio.c
b/drivers/extcon/extcon-usb-gpio.c
index
a0d7de8
..
0ac32df
100644
(file)
--- a/
drivers/extcon/extcon-usb-gpio.c
+++ b/
drivers/extcon/extcon-usb-gpio.c
@@
-194,7
+194,7
@@
static int usb_extcon_probe(struct platform_device *pdev)
}
platform_set_drvdata(pdev, info);
- device_
init_wakeup(
dev, true);
+ device_
set_wakeup_capable(&pdev->
dev, true);
/* Perform initial detection */
usb_extcon_detect_cable(&info->wq_detcable.work);