public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] add hooks for usb suspend and resume
@ 2022-12-14  8:14 Puma Hsu
  2022-12-14  8:14 ` [PATCH v2 1/2] usb: core: " Puma Hsu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Puma Hsu @ 2022-12-14  8:14 UTC (permalink / raw)
  To: gregkh, mka, dianders
  Cc: albertccwang, raychi, howardyen, leejj, hch, linux-usb,
	linux-kernel, Puma Hsu

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

-- 
2.39.0.rc1.256.g54fd8350bd-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-23 14:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14  8:14 [PATCH v2 0/2] add hooks for usb suspend and resume Puma Hsu
2022-12-14  8:14 ` [PATCH v2 1/2] usb: core: " Puma Hsu
2022-12-14  8:14 ` [PATCH v2 2/2] usb: core: add implementations for usb suspend/resume hooks Puma Hsu
2022-12-14  8:57   ` Christoph Hellwig
2022-12-14  8:48 ` [PATCH v2 0/2] add hooks for usb suspend and resume Greg KH
2022-12-14  9:17 ` Oliver Neukum
     [not found]   ` <CAGCq0LZ6PLF+CCOAU6LSr3DaZ78MQ3kAmKwnXPEtjC76GsRPUg@mail.gmail.com>
2022-12-23 14:52     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox