]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Revert "xhci: plat: Register shutdown for xhci_plat"
authorGreg Hackmann <ghackmann@google.com>
Fri, 13 Apr 2018 00:29:51 +0000 (17:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:52:25 +0000 (19:52 +0200)
Pixel 2 field testers reported that when they tried to reboot their
phones with some USB devices plugged in, the reboot would get wedged and
eventually trigger watchdog reset.  Once the Pixel kernel team found a
reliable repro case, they narrowed it down to this commit's 4.4.y
backport.  Reverting the change made the issue go away.

This reverts commit b07c12517f2aed0add8ce18146bb426b14099392.

Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c

index bd9654e9f0a7db5b3b585c28d1fd69ac9cb05460..54941bd3fe09b7cd07cbf8a02bb0bc416d7eeb61 100644 (file)
@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
 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,