diff options
author | Pavel Rojtberg <rojtberg@gmail.com> | 2015-10-07 00:07:31 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-10-10 18:27:28 (GMT) |
commit | a306a65f46acb040d208523592a2d34f67d47a61 (patch) | |
tree | 27b7549b63393028f3f8d4c5f42f1a47f58d03f1 /drivers/i2c | |
parent | e3b651745a03810efffd7ebf2a9b5be65fb70ec3 (diff) | |
download | linux-a306a65f46acb040d208523592a2d34f67d47a61.tar.xz |
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: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions