Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98fd0792 authored by Peter Chen's avatar Peter Chen Committed by Chanwoo Choi
Browse files

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: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent e57bb43c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);