input/device: Implement handle for UHID_SET_REPORT
authorArchie Pusaka <apusaka@chromium.org>
Mon, 3 Aug 2020 06:52:23 +0000 (14:52 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:50 +0000 (14:30 +0530)
commit58341ea989cedae57f443e3697e51049d3b2b3ee
tree5828d06f0846301bb6b57010e74d209aac66bf7f
parentd76b47bd9a6f0da67afb29157781d3693eca55de
input/device: Implement handle for UHID_SET_REPORT

This patch listens to UHID_SET_REPORT event and forwards this
message to the hid device. Upon reply, we also send a report back
to the kernel as UHID_SET_REPORT_REPLY.

hidp_send_set_report no longer listen UHID_OUTPUT events, that is
handled by hidp_send_output instead.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/input/device.c