|
|
@ -841,7 +841,7 @@ Signed-off-by: Malik Olivier Boussejra <malik@boussejra.com>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--- a/drivers/usb/core/hub.c
|
|
|
|
--- a/drivers/usb/core/hub.c
|
|
|
|
+++ b/drivers/usb/core/hub.c
|
|
|
|
+++ b/drivers/usb/core/hub.c
|
|
|
|
@@ -5094,7 +5094,7 @@ static void port_event(struct usb_hub *h
|
|
|
|
@@ -5091,7 +5091,7 @@ static void port_event(struct usb_hub *h
|
|
|
|
if (portchange & USB_PORT_STAT_C_OVERCURRENT) {
|
|
|
|
if (portchange & USB_PORT_STAT_C_OVERCURRENT) {
|
|
|
|
u16 status = 0, unused;
|
|
|
|
u16 status = 0, unused;
|
|
|
|
|
|
|
|
|
|
|
@ -852,7 +852,7 @@ Signed-off-by: Malik Olivier Boussejra <malik@boussejra.com>
|
|
|
|
msleep(100); /* Cool down */
|
|
|
|
msleep(100); /* Cool down */
|
|
|
|
--- a/drivers/usb/core/message.c
|
|
|
|
--- a/drivers/usb/core/message.c
|
|
|
|
+++ b/drivers/usb/core/message.c
|
|
|
|
+++ b/drivers/usb/core/message.c
|
|
|
|
@@ -1924,6 +1924,85 @@ free_interfaces:
|
|
|
|
@@ -1923,6 +1923,85 @@ free_interfaces:
|
|
|
|
if (cp->string == NULL &&
|
|
|
|
if (cp->string == NULL &&
|
|
|
|
!(dev->quirks & USB_QUIRK_CONFIG_INTF_STRINGS))
|
|
|
|
!(dev->quirks & USB_QUIRK_CONFIG_INTF_STRINGS))
|
|
|
|
cp->string = usb_cache_string(dev, cp->desc.iConfiguration);
|
|
|
|
cp->string = usb_cache_string(dev, cp->desc.iConfiguration);
|
|
|
|