HID: hidraw: replace hid_output_raw_report() calls by appropriates ones
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 20 Feb 2014 20:24:50 +0000 (15:24 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 24 Feb 2014 16:23:15 +0000 (17:23 +0100)
commit3a75b24949a8d34d2014866006e30dc69dd567c8
tree07bfa020997b5a9e6f7426422e24295657aea181
parent3c86726cfe38952f0366f86acfbbb025813ec1c2
HID: hidraw: replace hid_output_raw_report() calls by appropriates ones

Remove hid_output_raw_report() call as it is not a ll_driver callbacj,
and switch to the hid_hw_* implementation. USB-HID used to fallback
into SET_REPORT when there were no output interrupt endpoint,
so emulating this if hid_hw_output_report() returns -ENOSYS.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c