提交 98fd0792 编写于 作者: P Peter Chen 提交者: Chanwoo Choi

extcon: usb-gpio: Do not enable USB as wakeup source by default

Whether the USB port as a wakeup source should be determined by user,
but not enabled by default.
Signed-off-by: NPeter Chen <peter.chen@nxp.com>
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
上级 e57bb43c
...@@ -194,7 +194,7 @@ static int usb_extcon_probe(struct platform_device *pdev) ...@@ -194,7 +194,7 @@ static int usb_extcon_probe(struct platform_device *pdev)
} }
platform_set_drvdata(pdev, info); platform_set_drvdata(pdev, info);
device_init_wakeup(dev, true); device_set_wakeup_capable(&pdev->dev, true);
/* Perform initial detection */ /* Perform initial detection */
usb_extcon_detect_cable(&info->wq_detcable.work); usb_extcon_detect_cable(&info->wq_detcable.work);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册