]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: pidff: Support device error response from PID_BLOCK_LOAD
authorTomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Tue, 11 Feb 2025 14:35:11 +0000 (15:35 +0100)
committerJiri Kosina <jkosina@suse.com>
Tue, 11 Feb 2025 22:15:33 +0000 (23:15 +0100)
commit9d4174dc4a234408d91fd83725e1899766cd1731
tree25f9cec93567604f8d2bdbe91dd059f5aae22288
parente19675c2477491401b236ed939ad5a43ddc339af
HID: pidff: Support device error response from PID_BLOCK_LOAD

If an error happens on the device, the driver will no longer fall
into the trap of reading this status 60 times before it decides that
this reply won't change to success/memory full.

Greatly reduces communication overhead during device error situation.

Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/usbhid/hid-pidff.c