Re: USB HID fix: Retry sending timedout device commands 20 times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4.2.2020 11.05, Oliver Neukum wrote:
> Am Dienstag, den 04.02.2020, 09:17 +0100 schrieb Benjamin Tissoires:
>> Ouch, very much ouch. Resending 20 times on a generic path when the
>> timeout can be several seconds is pretty much a bad thing. Again, this
>> should be limited to the device you are talking to, and not be
>> generic. Or maybe you are encountering a usb controller issue.
> Yes. You need a least to consider teh unplug case.
>
> 	Regards
> 		Oliver

The patch does not loop in normal case, only if there are timeouts, and

even then not more than 400ms .. 20ms sleep while retry.


-- 
Br,
Lauri J.




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux