| From b17ecaa4b1913acf963fb1d36f871c3fa17ba528 Mon Sep 17 00:00:00 2001 |
| From: Adam Wallis <awallis@codeaurora.org> |
| Date: Tue, 28 Mar 2017 15:55:28 +0300 |
| Subject: [PATCH 214/255] xhci: plat: Register shutdown for xhci_plat |
| |
| Shutdown should be called for xhci_plat devices especially for |
| situations where kexec might be used by stopping DMA |
| transactions. |
| |
| Signed-off-by: Adam Wallis <awallis@codeaurora.org> |
| Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| (cherry picked from commit b07c12517f2aed0add8ce18146bb426b14099392) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/usb/host/xhci-plat.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/drivers/usb/host/xhci-plat.c |
| +++ b/drivers/usb/host/xhci-plat.c |
| @@ -344,6 +344,7 @@ MODULE_DEVICE_TABLE(acpi, usb_xhci_acpi_ |
| static struct platform_driver usb_xhci_driver = { |
| .probe = xhci_plat_probe, |
| .remove = xhci_plat_remove, |
| + .shutdown = usb_hcd_platform_shutdown, |
| .driver = { |
| .name = "xhci-hcd", |
| .pm = DEV_PM_OPS, |