diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-12 16:18:52 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:56:21 +0000 |
commit | 1a16d749fdf2fc250f83e3f591629be41b067eff (patch) | |
tree | 2d6575b201e36bf954ab378ca783e27212dec090 | |
parent | 47beba227036943f5d5b929cb88cbf58d4479601 (diff) | |
download | chrome-ec-1a16d749fdf2fc250f83e3f591629be41b067eff.tar.gz |
Revert "usb_api.h: Stub usb_wake if CONFIG_USB_REMOTE_WAKEUP is not defined"
This reverts commit 1ba0395a18c02dfbdc66f8b0f5fa930353b26705.
BUG=b:200823466
TEST=make buildall -j
Change-Id: Iabc46228203ea11dac845570a17c0d0944ba7646
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3285829
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r-- | include/usb_api.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/usb_api.h b/include/usb_api.h index c32515a92d..740d6b7c06 100644 --- a/include/usb_api.h +++ b/include/usb_api.h @@ -61,16 +61,12 @@ void usb_save_suspended_state(void); void usb_restore_suspended_state(void); /* - * Tell the host to wake up. Does nothing if CONFIG_USB_REMOTE_WAKEUP is not - * defined. + * Tell the host to wake up. Requires CONFIG_USB_REMOTE_WAKEUP to be defined, + * and a chip that implements the function. * * Returns immediately, suspend status can be checked using usb_is_suspended. */ -#ifdef CONFIG_USB_REMOTE_WAKEUP void usb_wake(void); -#else -static inline void usb_wake(void) {} -#endif /* Board-specific USB wake, for side-band wake, called by usb_wake above. */ void board_usb_wake(void); |