Andrew Lunn <andrew@xxxxxxx> > Sent: Wednesday, July 26, 2023 4:39 PM [...] > > /* wait 3 ms to make sure the firmware is stopped */ > > usleep_range(3000, 6000); > > How much time do you save compared to this 3ms - 6ms sleep? I think it depends on the CPU and the USB host controller. Take the PC produced this year for example, I think it saves less than 3ms normally. However, I think saving the number of control transfer is better for both software and hardware. Best Regards, Hayes