USB: Export usb_wakeup_enabled_descendants()
authorDouglas Anderson <dianders@chromium.org>
Thu, 18 Apr 2019 00:13:53 +0000 (17:13 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:47 +0000 (09:13 +0300)
commit7a6127e39a16c97b505f13352238567fdc3f79a2
tree5b6362eba21c4b3b879fa074f2837bdc26a13620
parent6f6d70597c15b2a406afa541517e6ad35f56a8a3
USB: Export usb_wakeup_enabled_descendants()

In (e583d9d USB: global suspend and remote wakeup don't mix) we
introduced wakeup_enabled_descendants() as a static function.  We'd
like to use this function in USB controller drivers to know if we
should keep the controller on during suspend time, since doing so has
a power impact.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/core/hub.c
include/linux/usb/hcd.h