Commit 35ecea24 authored by Mario Limonciello's avatar Mario Limonciello Committed by Dmitry Torokhov
Browse files

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: 7fc595f4 ("Input: xpad - correctly handle concurrent LED and FF requests")
Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250609014718.236827-2-superm1@kernel.org


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f4b048a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment