mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 72ea6f5c5fe299d105ebee91103ae26a7473af46 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Mon, 3 Jan 2022 10:44:17 +0000
|
|
Subject: [PATCH 10/92] LOCAL: usb: hub: disable autosuspend for Genesys Logic
|
|
Hubs
|
|
|
|
Disable autosuspend in Genesys Logic hubs to allow USB devices on the
|
|
Odroid C2 board to be used. The alternative to this patch is setting
|
|
usbcore.autosuspend=-1 in boot params.
|
|
|
|
This patch only impacts GXBB devices as GXL/GXM onwards use the newer
|
|
dwc3 core which does not have the problem.
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
drivers/usb/core/hub.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
|
|
index bbab424b0d55..ccfd0b312867 100644
|
|
--- a/drivers/usb/core/hub.c
|
|
+++ b/drivers/usb/core/hub.c
|
|
@@ -5797,7 +5797,7 @@ static const struct usb_device_id hub_id_table[] = {
|
|
| USB_DEVICE_ID_MATCH_INT_CLASS,
|
|
.idVendor = USB_VENDOR_GENESYS_LOGIC,
|
|
.bInterfaceClass = USB_CLASS_HUB,
|
|
- .driver_info = HUB_QUIRK_CHECK_PORT_AUTOSUSPEND},
|
|
+ .driver_info = HUB_QUIRK_DISABLE_AUTOSUSPEND},
|
|
{ .match_flags = USB_DEVICE_ID_MATCH_DEV_CLASS,
|
|
.bDeviceClass = USB_CLASS_HUB},
|
|
{ .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS,
|
|
--
|
|
2.34.1
|
|
|