]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: xhci-plat: add wakeup entry at sysfs
authorPeter Chen <peter.chen@nxp.com>
Fri, 18 Sep 2020 13:17:47 +0000 (16:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Sep 2020 14:18:00 +0000 (16:18 +0200)
commit15ca650729a5e41e3ab2f9b1bc7382f92191b6d4
treefaa6595e8716cc14814f38ad02d2fecd6fc9e4a9
parent4a62bddde4d0e29342ddedc33f32beec81055658
usb: host: xhci-plat: add wakeup entry at sysfs

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.

Tested-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
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-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c