[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:28 +0000 (20:23 +0300)
Change-Id: I29d857af3601d8e4e79ab99fdedba2118a9b8f80
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
drivers/usb/core/hcd.c

index 80a392afdb1eaea301183c2aef157d056c625e92..55d025a68754fe64eb717b5e5b2516fa038ecc19 100644 (file)
@@ -2318,7 +2318,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);
        }