diff options
author | Pavel Rojtberg <rojtberg@gmail.com> | 2015-12-09 22:57:01 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-01-04 22:39:38 +0300 |
commit | 7fc595f4c02636eadaeeecfe7bbc45b57c173004 (patch) | |
tree | da2f8d034b5a494a6eaf962465bdbe97e72474b7 /MAINTAINERS | |
parent | 09c8b00ae3e16c8d0fd4beb2ca064502a76c0f17 (diff) | |
download | linux-7fc595f4c02636eadaeeecfe7bbc45b57c173004.tar.xz |
Input: xpad - correctly handle concurrent LED and FF requests
Track the status of the irq_out URB to prevent submission iof new requests
while current one is active. Failure to do so results in the "URB submitted
while active" warning/stack trace.
Store pending brightness and FF effect in the driver structure and replace
it with the latest requests until the device is ready to process next
request. Alternate serving LED vs FF requests to make sure one does not
starve another. See [1] for discussion. Inspired by patch of Sarah Bessmer
[2].
[1]: http://www.spinics.net/lists/linux-input/msg40708.html
[2]: http://www.spinics.net/lists/linux-input/msg31450.html
Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions