diff options
author | Peter Chen <peter.chen@nxp.com> | 2017-02-13 14:56:37 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | b88cb3d7605ff9b40403907a7ddd27c7d48cae96 (patch) | |
tree | 49e491b7935c91eae765eefaeda8be79590b3d79 /drivers/extcon | |
parent | de58a0e3fc2a1b4e84e8c13dc77ab978d27dee28 (diff) |
MLK-13912-1 extcon: ext-usb-gpio: do not enable wakeup by default
The wakeup on USB port should be determined by user, but not enabled
by default.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-usb-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-usb-gpio.c index a72ad077f2ab..f2c029978650 100644 --- 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 */ |