HID: pidff: Support device error response from PID_BLOCK_LOAD

[ Upstream commit 9d4174dc4a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Tomasz Pakuła 2025-02-11 15:35:11 +01:00 • committed by Greg Kroah-Hartman
commit 239c8ac58c