From: Aditya Garg <gargaditya08@live.com>
To: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"oneukum@suse.com" <oneukum@suse.com>,
"stern@rowland.harvard.edu" <stern@rowland.harvard.edu>
Cc: Kerem Karabay <kekrby@gmail.com>,
Orlando Chamberlain <orlandoch.dev@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"usb-storage@lists.one-eyed-alien.net"
<usb-storage@lists.one-eyed-alien.net>
Subject: [PATCH v3 0/2] USB: Simplify running code on shutdown for USB devices
Date: Sat, 6 Jul 2024 12:02:16 +0000 [thread overview]
Message-ID: <58227E2C-1886-40AD-8F80-7C618EF2D8F2@live.com> (raw)
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
next reply other threads:[~2024-07-06 12:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-06 12:02 Aditya Garg [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58227E2C-1886-40AD-8F80-7C618EF2D8F2@live.com \
--to=gargaditya08@live.com \
--cc=gregkh@linuxfoundation.org \
--cc=kekrby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oneukum@suse.com \
--cc=orlandoch.dev@gmail.com \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®