Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f28e1165 authored by Pavel Rojtberg's avatar Pavel Rojtberg Committed by Rom Lemarchand
Browse files

Input: xpad - remove needless bulk out URB used for LED setup



This code was probably wrong ever since and is redundant with
xpad_send_led_command. Both try to send a similar command to the xbox360
controller. However xpad_send_led_command correctly uses the pad_nr instead
of bInterfaceNumber to select the led and re-uses the irq_out URB instead
of creating a new one.

Note that this change only affects the two supported wireless controllers.
Tested using the xbox360 wireless controller (PC).

Signed-off-by: default avatarPavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>

Signed-off-by: default avatarTim Clark <tim.clark.82@gmail.com>
parent b0ad2b64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment