MLK-23412-6 usb: dwc3: imx8mp: don't enable usb as wakeup source
Do not enable USB as wakeup source by default. Reviewed-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
039a6e0694
commit
c10eb861e3
|
@ -224,7 +224,7 @@ static int dwc3_imx8mp_probe(struct platform_device *pdev)
|
|||
else if (dwc->dr_mode == USB_DR_MODE_PERIPHERAL)
|
||||
dwc->priv_data->set_role_post(dwc, DWC3_GCTL_PRTCAP_DEVICE);
|
||||
|
||||
device_init_wakeup(dev, 1);
|
||||
device_set_wakeup_capable(dev, true);
|
||||
pm_runtime_set_active(dev);
|
||||
pm_runtime_enable(dev);
|
||||
|
||||
|
|
Loading…
Reference in New Issue