HID: hid-sony: override usbhid_output_raw_report for Sixaxis
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 19 Oct 2010 14:13:10 +0000 (16:13 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 20 Oct 2010 14:50:24 +0000 (16:50 +0200)
commit569b10a506c4d5bc7398d040930539d84d3a2186
treee276b2bbf56a7c426588a83e212ba001549a02cd
parent4ea6e4ffb4acdaaf9ba7687dbd84ae36e26cef9e
HID: hid-sony: override usbhid_output_raw_report for Sixaxis

Override usbhid_output_raw_report in order to force output reports (sent
via hidraw_write, for instance) on the control endpoint.

The Sony Sixaxis (PS3 Controller) accepts output reports only on the
control endpoint, it silently discards them when they arrive over the
interrupt endpoint where usbhid would normally deliver them.

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