Skip to content

add hooks for usb suspend and resume

Puma Hsu linux-usb lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Remove the wrong input in the Makefile
- Change description in commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: core: add hooks for usb suspend and resumedrivers/usb/core/driver.c drivers/usb/core/usb.h+41 -00 replies
2/2usb: core: add implementations for usb suspend/resume hooksdrivers/usb/core/usb-hooks-impl-goog.c+72 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] add hooks for usb suspend and resume

In mobile, a co-processor can be used for USB audio. When the co-processor is working for USB audio, the co-processor is the user/owner of the USB driver, and the ACPU is able to sleep in such condition to improve power consumption. In order to support this, we need to create hooks in suspend and resume functions. We also upload our implementations for reviewing.

Puma Hsu (2):
usb: core: add hooks for usb suspend and resume
usb: core: add implementations for usb suspend/resume hooks

 drivers/usb/core/driver.c              | 36 +++++++++++++
 drivers/usb/core/usb-hooks-impl-goog.c | 72 ++++++++++++++++++++++++++
 drivers/usb/core/usb.h                 |  5 ++
 3 files changed, 113 insertions(+)
 create mode 100644 drivers/usb/core/usb-hooks-impl-goog.c

---
Changes in v2:
- Remove the wrong input in the Makefile
- Change description in commit message

Signature · 1 line
2.39.0.rc1.256.g54fd8350bd-goog