HID: hid-sony.c: Fix sending Output reports to the Sixaxis
authorAntonio Ospite <ospite@studenti.unina.it>
Sun, 20 Feb 2011 17:26:45 +0000 (18:26 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 Feb 2011 12:48:50 +0000 (13:48 +0100)
commit5710fabf315efcd53c54ad4ecc6158f2964745e3
tree303776801d76cd4e2534247f4422be80c8ca4975
parent177900e8c9ab28cdf097314fe7dd3877774df97d
HID: hid-sony.c: Fix sending Output reports to the Sixaxis

The Sixaxis does not want the report_id as part of the data packet in
Output reports, so we have to discard buf[0] when sending the actual
control message.

Add also some documentation about that and about why
hdev->hid_output_raw_report needs to be overridden.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c