[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <A6C4519F-852E-4B5C-B791-7396B515B8A6@live.com>
Date: Sat, 6 Jul 2024 09:58:56 +0000
From: Aditya Garg <gargaditya08@...e.com>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"oneukum@...e.com" <oneukum@...e.com>, "stern@...land.harvard.edu"
<stern@...land.harvard.edu>
CC: Kerem Karabay <kekrby@...il.com>, Orlando Chamberlain
<orlandoch.dev@...il.com>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, "linux-usb@...r.kernel.org"
<linux-usb@...r.kernel.org>, "linux-scsi@...r.kernel.org"
<linux-scsi@...r.kernel.org>, "usb-storage@...ts.one-eyed-alien.net"
<usb-storage@...ts.one-eyed-alien.net>
Subject: [PATCH v2 0/2] USB: Simplify running code on shutdown for USB devices
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
scsi: 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
Powered by blists - more mailing lists