[PATCH 1/2] usb: dwc2: handle NAK when CHHLTD does not fire

anis chali chalianis1 at gmail.com
Tue Apr 21 06:48:56 PDT 2026


Hi,

Le mar. 21 avr. 2026 à 03:54, Sascha Hauer <s.hauer at pengutronix.de> a écrit :
>
> Hi,
>
> On Mon, Apr 20, 2026 at 10:28:58PM -0400, anis chali wrote:
> > Hi.
> >
> > On Raspberry pi cm 4, with only the patch usb: dwc2: handle NAK when
> > CHHLTD does not fire,
> > the usb controller does not work and displays indefinitely the message
> > below even if no usb storage plugged in
> > ERROR: dwc2 fe980000.usb at 7e980000.of: Timeout on bulk endpoint
> > I did the test with the patch series and I get the same behaviour,
> > console continuously displaying the timeout error.
>
> I just tried with only your patch applied and it doesn't work for me. It
> seems there is some timing issue involved, because when I add debugging
> output at the right places then it works.

Do you have logs, to check whether I had the same ?
I got the same behaviour when I added debugging messages.
We maybe try a combination or add the retry.

> I haven't gotten further so far.
>
> Sascha
>
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Anis C.



More information about the barebox mailing list