projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb4fc0
)
usb: host: xhci-plat: improve the comments for xhci_plat_suspend
author
Peter Chen
<peter.chen@nxp.com>
Fri, 18 Sep 2020 13:17:48 +0000
(16:17 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 20 Sep 2020 14:18:00 +0000
(16:18 +0200)
To reflect the current code status.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link:
https://lore.kernel.org/r/20200918131752.16488-7-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-plat.c
b/drivers/usb/host/xhci-plat.c
index
cfca6fc
..
aa2d35f
100644
(file)
--- a/
drivers/usb/host/xhci-plat.c
+++ b/
drivers/usb/host/xhci-plat.c
@@
-421,11
+421,7
@@
static int __maybe_unused xhci_plat_suspend(struct device *dev)
return ret;
/*
* xhci_suspend() needs `do_wakeup` to know whether host is allowed
- * to do wakeup during suspend. Since xhci_plat_suspend is currently
- * only designed for system suspend, device_may_wakeup() is enough
- * to dertermine whether host is allowed to do wakeup. Need to
- * reconsider this when xhci_plat_suspend enlarges its scope, e.g.,
- * also applies to runtime suspend.
+ * to do wakeup during suspend.
*/
return xhci_suspend(xhci, device_may_wakeup(dev));
}