summaryrefslogtreecommitdiff
path: root/include/usb_api.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 17:23:54 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:51:49 +0000
commit34f01d9aec1eb5a71843080e11c47ca3acaaffcb (patch)
treeeccff890614b366b1928324d229e03031186c0e7 /include/usb_api.h
parent67691dada3300afea7371eec5b7dbdf47347bc5b (diff)
downloadchrome-ec-34f01d9aec1eb5a71843080e11c47ca3acaaffcb.tar.gz
Revert "stm32/usb: Add HOOK_USB_PM_CHANGE, called when USB is resumed/suspended"
This reverts commit 76927bdc5a17ddbdc9fc601b761c2a4984ecc1e9. BUG=b:200823466 TEST=make buildall -j Change-Id: Iae1cf9c676788ffaf9367b0755356950e9ee8ca6 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273437 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'include/usb_api.h')
-rw-r--r--include/usb_api.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/usb_api.h b/include/usb_api.h
index 481a77272c..c32515a92d 100644
--- a/include/usb_api.h
+++ b/include/usb_api.h
@@ -49,13 +49,6 @@ void usb_release(void);
int usb_is_suspended(void);
/*
- * Returns true if USB remote wakeup is currently enabled by host.
- * Requires CONFIG_USB_SUSPEND to be defined, always return 0 if
- * CONFIG_USB_REMOTE_WAKEUP is not defined.
- */
-int usb_is_remote_wakeup_enabled(void);
-
-/*
* Preserve in non-volatile memory the state of the USB hardware registers
* which cannot be simply re-initialized when powered up again.
*/