]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: xpad - return errors from xpad_try_sending_next_out_packet() up
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 27 Jun 2025 19:23:44 +0000 (12:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Jun 2025 19:24:55 +0000 (12:24 -0700)
commit77451cb102506a980cd299581e1c03a367af3c9a
tree80821d1891a73cf88e6d3b18880fcc518e18fecc
parent35ecea24b5ef7534b8c928bb9ddfa936bd2805ab
Input: xpad - return errors from xpad_try_sending_next_out_packet() up

Not all errors that occur in xpad_try_sending_next_out_packet() are
IO errors. Pass up the error code to the caller so that it can
decide what to do.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250609014718.236827-3-superm1@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c