]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - set proper buffer length for outgoing requests
authorMichael Gruber <lists.mg@googlemail.com>
Tue, 15 Apr 2008 05:31:47 +0000 (01:31 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Apr 2008 05:31:47 +0000 (01:31 -0400)
commit54730ee46dead2430998420bea4e16caae0fba4c
tree730ddade85c0b42ef2b9ea1ad0ca2b8459e13d99
parentcf59c1e45f0d65f597693e0f8511dc3da744c60c
Input: xpad - set proper buffer length for outgoing requests

The messages for led/rumble are exactly 3 and 8 bytes respectively.
Hence set up the transfer_buffer_length accordingly.

Signed-off-by: Michael Gruber <lists.mg@googlemail.com>
Acked-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/xpad.c