[RAMEN9610-14990] [COMMON] usb: remove W/A code to avoid kernel panic
authorKisang Lee <kisang80.lee@samsung.com>
Thu, 9 May 2019 01:08:22 +0000 (10:08 +0900)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:45:20 +0000 (23:45 +0900)
Change-Id: I29d857af3601d8e4e79ab99fdedba2118a9b8f80
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
drivers/usb/core/hcd.c

index 77e85118b61f785ba0b7d93372ead7da4415cf2a..ae13bc4f13d361d940dbb20143d95df0941b2799 100644 (file)
@@ -2294,7 +2294,7 @@ int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg)
        }
 
        /* L2 suspend only support USB2.0port */
-       if ((hcd->state == HC_STATE_SUSPENDED) && !hcd->driver->hub_check_speed(hcd->shared_hcd)) {
+       if (hcd->state == HC_STATE_SUSPENDED) {
                dev_info(&rhdev->dev, "HCD STATE IS SUSPENDED, NEED WAKE UNLOCK\n");
                hcd->driver->wake_lock(hcd, 0);
        }