mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] USB: Simplify running code on shutdown for USB devices
@ 2024-07-06 12:02 Aditya Garg
  2024-07-06 12:03 ` [PATCH v3 1/2] USB: core: add 'shutdown' callback to usb_driver Aditya Garg
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Garg @ 2024-07-06 12:02 UTC (permalink / raw)
  To: gregkh, oneukum, stern
  Cc: Kerem Karabay, Orlando Chamberlain, Linux Kernel Mailing List,
	linux-usb, linux-scsi, usb-storage

Currently there is no standardized method for USB drivers to handle
shutdown events.

The first patch in this series fixes this by simplifying running code
on shutdown for USB devices by adding a shutdown callback to usb_driver.

The second patch implements this new callback to the UAS driver

Kerem Karabay (2):
  USB: core: add 'shutdown' callback to usb_driver
  USB: uas: Implement the new shutdown callback

 drivers/usb/core/driver.c | 14 ++++++++++++++
 drivers/usb/storage/uas.c |  5 ++---
 include/linux/usb.h       |  3 +++
 3 files changed, 19 insertions(+), 3 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-07-06 12:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-06 12:02 [PATCH v3 0/2] USB: Simplify running code on shutdown for USB devices Aditya Garg
2024-07-06 12:03 ` [PATCH v3 1/2] USB: core: add 'shutdown' callback to usb_driver Aditya Garg
2024-07-06 12:04   ` [PATCH v3 2/2] USB: uas: Implement the new shutdown callback Aditya Garg
2024-07-06 12:36   ` [PATCH v3 1/2] USB: core: add 'shutdown' callback to usb_driver gregkh
2024-07-06 12:46     ` Aditya Garg
2024-07-06 12:56       ` Aditya Garg

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

all inboxes | Powered by JetHome®