xhci: plat: Register shutdown for xhci_plat
Subsystems (2)
PATCH 1/1 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]>
--- drivers/usb/host/xhci-plat.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/host/xhci-plat.c +1 -0
@@ -344,6 +344,7 @@ static int xhci_plat_resume(struct device *dev)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 ,
Signature · 3 lines
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
PATCH 1/1 xhci: plat: Register shutdown for xhci_plat
Quoted 14 lines · Adam Wallis
Shutdown should be called for
xhci_platdevices especially for situations where kexec might be used by stopping DMA transactions.Signed-off-by Adam Wallis <[email protected]>--- drivers/usb/host/xhci-plat.c | 1 + 1 file changed, 1 insertion(+)drivers/usb/host/xhci-plat.c +0
-0
drivers/usb/host/xhci-plat.c static int xhci_plat_resume(struct device *dev) · line 347
Quoted 4 lines
drivers/usb/host/xhci-plat.c +1
-0@@ -344,6 +344,7 @@ static int xhci_plat_resume(struct device *dev)static struct platform_driver usb_xhci_driver = { .probe = xhci_plat_probe, .remove = xhci_plat_remove, + .shutdown = usb_hcd_platform_shutdown,
Thanks, adding to queue.
-Mathias