Input: xpad - adjust error handling for disconnect
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 27 Jun 2025 19:23:20 +0000 (12:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Jun 2025 19:24:54 +0000 (12:24 -0700)
commit35ecea24b5ef7534b8c928bb9ddfa936bd2805ab
tree2361145e2129c9ffd38457b1b9d185ba05d09ff5
parentf4b048a6a34af9ad14a3a4a82902748f6cea6872
Input: xpad - adjust error handling for disconnect

When a device supporting xpad is disconnected it's expected that a
URB will fail to transmit.

Only show an error message when the error isn't -ENODEV.

Fixes: 7fc595f4c0263 ("Input: xpad - correctly handle concurrent LED and FF requests")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250609014718.236827-2-superm1@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c