From: Timur Tabi <timur@codeaurora.org>
To: Felipe Balbi <balbi@ti.com>,
Alan Stern <stern@rowland.harvard.edu>,
Bjorn Andersson <bjorn.andersson@sonymobile.com>,
"Ivan T. Ivanov" <iivanov@mm-sol.com>,
Andy Gross <agross@codeaurora.org>,
Jack Pham <jackp@codeaurora.org>,
Greg Kroah-Hartman <greg@kroah.com>,
linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org,
Philip Elcan <pelcan@codeaurora.org>,
Mark Langsdorf <mlangsdo@redhat.com>,
Jon Masters <jcm@redhat.com>
Subject: [PATCH 5/5] [v2] usb: host: ehci-msm: Register usb shutdown function
Date: Thu, 10 Dec 2015 18:28:57 -0600 [thread overview]
Message-ID: <1449793737-1816-5-git-send-email-timur@codeaurora.org> (raw)
In-Reply-To: <1449793737-1816-1-git-send-email-timur@codeaurora.org>
From: Azriel Samson <asamson@codeaurora.org>
Registering usb_hcd_platform_shutdown to be called during
shutdown. This is a generic function that performs the
generic host stack's shutdown. It ensures that USB
operations do not continue while kexec boots a new kernel.
Signed-off-by: Azriel Samson <asamson@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
---
drivers/usb/host/ehci-msm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index b71947d..3e226ef 100644
--- a/drivers/usb/host/ehci-msm.c
+++ b/drivers/usb/host/ehci-msm.c
@@ -220,6 +220,7 @@ MODULE_DEVICE_TABLE(of, msm_ehci_dt_match);
static struct platform_driver ehci_msm_driver = {
.probe = ehci_msm_probe,
.remove = ehci_msm_remove,
+ .shutdown = usb_hcd_platform_shutdown,
.driver = {
.name = "msm_hsusb_host",
.pm = &ehci_msm_dev_pm_ops,
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.
next prev parent reply other threads:[~2015-12-11 0:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 0:28 [PATCH 1/5] [v2] usb: host: ehci-msm: Allow LS devices to work Timur Tabi
2015-12-11 0:28 ` [PATCH 2/5] [v2] usb: host: ehci-msm: Remove dependency on OTG PHY Timur Tabi
[not found] ` <1449793737-1816-2-git-send-email-timur-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-12-11 21:32 ` Andy Gross
[not found] ` <1449793737-1816-1-git-send-email-timur-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-12-11 0:28 ` [PATCH 3/5] [v2] usb: host: ehci-msm: Add support for ACPI probing Timur Tabi
2015-12-11 21:33 ` Andy Gross
2015-12-11 0:28 ` [PATCH 4/5] [v2] usb: host: ehci-msm: Fix register initialization Timur Tabi
2015-12-11 21:34 ` Andy Gross
2015-12-11 0:28 ` Timur Tabi [this message]
2015-12-11 21:34 ` [PATCH 5/5] [v2] usb: host: ehci-msm: Register usb shutdown function Andy Gross
2016-01-06 20:20 ` [PATCH 1/5] [v2] usb: host: ehci-msm: Allow LS devices to work Timur Tabi
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=1449793737-1816-5-git-send-email-timur@codeaurora.org \
--to=timur@codeaurora.org \
--cc=agross@codeaurora.org \
--cc=balbi@ti.com \
--cc=bjorn.andersson@sonymobile.com \
--cc=greg@kroah.com \
--cc=iivanov@mm-sol.com \
--cc=jackp@codeaurora.org \
--cc=jcm@redhat.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mlangsdo@redhat.com \
--cc=pelcan@codeaurora.org \
--cc=stern@rowland.harvard.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.