Skip to content

Commit b07c125

Browse files
Adam Wallisgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1633682 commit b07c125

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/host/xhci-plat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ MODULE_DEVICE_TABLE(acpi, usb_xhci_acpi_match);
344344
static struct platform_driver usb_xhci_driver = {
345345
.probe = xhci_plat_probe,
346346
.remove = xhci_plat_remove,
347+
.shutdown = usb_hcd_platform_shutdown,
347348
.driver = {
348349
.name = "xhci-hcd",
349350
.pm = DEV_PM_OPS,

0 commit comments

Comments
 (0)