projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da857a6
)
MLK-13912-1 extcon: ext-usb-gpio: do not enable wakeup by default
author
Peter Chen
<peter.chen@nxp.com>
Mon, 13 Feb 2017 06:56:37 +0000
(14:56 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:41 +0000
(15:10 -0500)
The wakeup on USB port should be determined by user, but not enabled
by default.
Signed-off-by: Peter Chen <peter.chen@nxp.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
a72ad07
..
f2c0299
100644
(file)
--- a/
drivers/extcon/extcon-usb-gpio.c
+++ b/
drivers/extcon/extcon-usb-gpio.c
@@
-144,7
+144,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);
dev_pm_set_wake_irq(dev, info->id_irq);
/* Perform initial detection */