[PATCH 0/2] USB fixes: (Re)implement timeouts

Marek Vasut marex at denx.de
Sun Oct 29 12:35:31 CET 2023


On 10/29/23 08:36, Hector Martin wrote:
> A long time ago, the USB code was interrupt-driven and used top-level
> timeout handling. This has long been obsolete, and that code is just
> broken dead cruft. HC drivers instead hardcode timeouts today.
> 
> We need to be able to specify timeouts explicitly to handle cases like
> USB hard disks spinning up, without having ridiculously long timeouts
> across the board (which would cause endless waiting when things go
> wrong anywhere else). So, it's time to rip out the old broken nonsense
> and actually pass through timeouts to USB host controller drivers, so
> they can be implemented properly.

I like this.

[...]


More information about the U-Boot mailing list