On 17.8.2020 12.44, Peter Chen wrote: > With this change, there will be a wakeup entry at /sys/../power/wakeup, > and the user could use this entry to choose whether enable xhci wakeup > features (wake up system from suspend) or not. > > Signed-off-by: Peter Chen <peter.chen@xxxxxxx> > --- > drivers/usb/host/xhci-plat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c > index 14ff65a387e8..cfca6fc8947c 100644 > --- a/drivers/usb/host/xhci-plat.c > +++ b/drivers/usb/host/xhci-plat.c > @@ -287,7 +287,7 @@ static int xhci_plat_probe(struct platform_device *pdev) > *priv = *priv_match; > } > > - device_wakeup_enable(hcd->self.controller); > + device_set_wakeup_capable(&pdev->dev, true); All other patches seem pretty straight forward, but with this one I have to some more digging. I saw you had a discussion with Alan about this topic about a month ago, but I'm not sure if there was any conclusion about this. -Mathias