linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add vendor hooks for usb suspend and resume
@ 2022-12-14  7:06 Puma Hsu
  2022-12-14  7:06 ` [PATCH 1/2] usb: core: add vendor hook " Puma Hsu
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Puma Hsu @ 2022-12-14  7:06 UTC (permalink / raw)
  To: gregkh, mka, dianders
  Cc: albertccwang, raychi, howardyen, leejj, 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 vendor hooks in
suspend and resume functions, and also upload our implementations for
reference.

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

 drivers/usb/core/Makefile              |  2 +-
 drivers/usb/core/driver.c              | 36 +++++++++++++
 drivers/usb/core/usb-hooks-impl-goog.c | 72 ++++++++++++++++++++++++++
 drivers/usb/core/usb.h                 |  5 ++
 4 files changed, 114 insertions(+), 1 deletion(-)
 create mode 100644 drivers/usb/core/usb-hooks-impl-goog.c

-- 
2.39.0.rc1.256.g54fd8350bd-goog


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

end of thread, other threads:[~2022-12-19 12:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14  7:06 [PATCH 0/2] add vendor hooks for usb suspend and resume Puma Hsu
2022-12-14  7:06 ` [PATCH 1/2] usb: core: add vendor hook " Puma Hsu
2022-12-14  7:20   ` Puma Hsu
2022-12-14  7:36   ` Christoph Hellwig
2022-12-14  8:20   ` Greg KH
2022-12-14  9:38   ` kernel test robot
2022-12-14  9:38   ` kernel test robot
2022-12-14 10:59   ` kernel test robot
2022-12-14  7:06 ` [PATCH 2/2] usb: core: add implementations for usb suspend/resume hooks Puma Hsu
2022-12-14  8:21   ` Greg KH
2022-12-14  9:48   ` kernel test robot
2022-12-19 12:32   ` kernel test robot
2022-12-14  8:17 ` [PATCH 0/2] add vendor hooks for usb suspend and resume Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).