]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit04021e4e401d7ac2051839dd5b00a701c9119dd9
tree730ddade85c0b42ef2b9ea1ad0ca2b8459e13d99
parentda3e4c885e5ebbccc8181f53d8ae74c4c22d506f
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