usb: dwc2: Usb wifi dongle fails to initialize with Frame Overrun errors

2019-04-19 Thread Hal Emmerich
Hello all, I have a ar9271 wireless dongle which is known to not work well with dwc2. When inserted, it may initialize properly if the system was just rebooted but after that will error out. With dwc2 verbose debug enabled, I see a bulk transfer followed by a frame overrun interrupt. The l

Re: usb: dwc2: Usb wifi dongle fails to initialize with Frame Overrun errors

2019-04-30 Thread Hal Emmerich
Hi Minas, On 4/23/19 2:54 AM, Minas Harutyunyan wrote: Hi Hal, On 4/19/2019 11:41 PM, Hal Emmerich wrote: Hello all, I have a ar9271 wireless dongle which is known to not work well with dwc2. When inserted, it may initialize properly if the system was just rebooted but after that will

REGRESSION: usb: dwc2: USB device not seen after boot

2018-07-19 Thread Hal Emmerich
[1.] One line summary of the problem: Regression, USB devices not recognized if plugged in after system boots [2.] Full description of the problem/report: If a usb device is plugged in before system begins booting into the kernel, it will be recognized once boot completes. However, if

Re: REGRESSION: usb: dwc2: USB device not seen after boot

2018-07-19 Thread Hal Emmerich
Replying to include I had with someone at synopsys, edited to remove their info as I don't think their email is public. > Hi Hal, > > Could you please apply this patch ([PATCH] usb: dwc2: Fix host exit from > hibernation flow.) from linux-usb mailing list. > > Let me know if this patch doesn't fi

[PATCH] usb: dwc2: disable power_down on rockchip devices

2018-07-19 Thread Hal Emmerich
>From 04fbf78e4e569bf872f1ffcb0a6f9b89569dc913 Mon Sep 17 00:00:00 2001 From: Hal Emmerich Date: Thu, 19 Jul 2018 21:48:08 -0500 Subject: [PATCH] usb: dwc2: disable power_down on rockchip devices  The bug would let the usb controller enter partial power down,  which was formally known

Re: REGRESSION: usb: dwc2: USB device not seen after boot

2018-07-19 Thread Hal Emmerich
I believe I have found the root cause of this issue. Before commit 6d23ee9caa6790aea047f9aca7f3c03cb8d96eb6 |_dwc2_hcd_suspend() did not end up calling dwc2_enter_hibernation(), which was renamed to dwc2_enter_partial_power_down() in the same commit. _dwc2_hcd_suspend() skipped | ||dwc2_enter_parti

[PATCH] usb: dwc2: disable power_down on rockchip devices

2018-09-27 Thread Hal Emmerich
>From 04fbf78e4e569bf872f1ffcb0a6f9b89569dc913 Mon Sep 17 00:00:00 2001 From: Hal Emmerich Date: Thu, 19 Jul 2018 21:48:08 -0500 Subject: [PATCH] usb: dwc2: disable power_down on rockchip devices  The bug would let the usb controller enter partial power down,  which was formally known

[PATCH] usb: dwc2: disable power_down on rockchip devices

2018-10-21 Thread Hal Emmerich
>From 04fbf78e4e569bf872f1ffcb0a6f9b89569dc913 Mon Sep 17 00:00:00 2001 From: Hal Emmerich Date: Thu, 19 Jul 2018 21:48:08 -0500 Subject: [PATCH] usb: dwc2: disable power_down on rockchip devices  The bug would let the usb controller enter partial power down,  which was formally known

[RESEND PATCH v2] usb: dwc2: disable power_down on rockchip for regression

2018-10-26 Thread Hal Emmerich
>From 04fbf78e4e569bf872f1ffcb0a6f9b89569dc913 Mon Sep 17 00:00:00 2001 From: Hal Emmerich Date: Thu, 19 Jul 2018 21:48:08 -0500 Subject: [PATCH] usb: dwc2: disable power_down on rockchip devices  The bug would let the usb controller enter partial power down,  which was formally known

Re: [RESEND PATCH v2] usb: dwc2: disable power_down on rockchip for regression

2018-10-31 Thread Hal Emmerich
On 10/29/18 4:02 AM, Minas Harutyunyan wrote: Hi Hal, On 10/26/2018 6:38 PM, Hal Emmerich wrote: From 04fbf78e4e569bf872f1ffcb0a6f9b89569dc913 Mon Sep 17 00:00:00 2001 From: Hal Emmerich Date: Thu, 19 Jul 2018 21:48:08 -0500 Subject: [PATCH] usb: dwc2: disable power_down on rockchip