mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
1b2fefb244
Refreshed patches, removed upstreamed patch: generic/pending: 001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch Run tested: qemu-x86-64 Build tested: x86/64, ath79/nand, imx6, sunxi/a53 Signed-off-by: Petr Štetiar <ynezz@true.cz>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 9b297faabe3fc35741746aca39128fbb12e28113 Mon Sep 17 00:00:00 2001
|
|
From: Li Jun <b47624@freescale.com>
|
|
Date: Wed, 12 Nov 2014 15:16:33 +0800
|
|
Subject: [PATCH] MLK-9829 usb: core: print suggested message if failed to get
|
|
device descriptor
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This is required for USB OTG and EH compliance test 6.7.22(A-UUT “Device No
|
|
Response” for connection timeout). When the connected usb device(PET) does
|
|
not response to transactions, host will fail to get device descriptor.
|
|
|
|
Signed-off-by: Li Jun <jun.li@freescale.com>
|
|
(cherry picked from commit 86d0bd661ecbbdf97dd9a8ddbaf0d3811de7f39e)
|
|
(cherry picked from commit 858af83637291d2ececfc7b2b4b17e3a371b53f3)
|
|
---
|
|
drivers/usb/core/hub.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/usb/core/hub.c
|
|
+++ b/drivers/usb/core/hub.c
|
|
@@ -4729,7 +4729,8 @@ hub_port_init(struct usb_hub *hub, struc
|
|
}
|
|
if (r) {
|
|
if (r != -ENODEV)
|
|
- dev_err(&udev->dev, "device descriptor read/64, error %d\n",
|
|
+ dev_err(&udev->dev,
|
|
+ "device no response, device descriptor read/64, error %d\n",
|
|
r);
|
|
retval = -EMSGSIZE;
|
|
continue;
|