OSDN Git Service

HID: Add support for set report and get report
authorHemant Gupta <hemantg@codeaurora.org>
Thu, 3 Sep 2015 09:19:18 +0000 (14:49 +0530)
committerLinux Build Service Account <lnxbuild@localhost>
Wed, 24 Aug 2016 14:09:36 +0000 (08:09 -0600)
commit5c50d20f61a5d928cf01302452647ec480b68c51
tree3ba2e5e42d894fbc3d147879c9e0382760144c5d
parent056beab38b343d8163d65cc92ea56d41ad85850d
HID: Add support for set report and get report

Add support for set report and get report in HID user
space because of changes in uhid kernel driver with kernel changes
for kernel 3.18. Without these changes issues are seen with hid devices
that uses vendor usb hid drivers and send specific set and get report
to hid devices for their proper functioning.

Following are the new flags added in uhid driver of kernel, for which
support is required in hid user space.

UHID_GET_REPORT
UHID_GET_REPORT_REPLY
UHID_SET_REPORT
UHID_SET_REPORT_REPLY

Also update __FUNCTION__ to __func__ in API's where changes are made.

Change-Id: I90230b76d68e9275dcacd9f46f03e312ddf2fa30
CRs-Fixed: 963213
bta/hh/bta_hh_act.c
bta/include/bta_hh_co.h [changed mode: 0755->0644]
btif/co/bta_hh_co.c
btif/include/btif_hh.h
btif/src/btif_hh.c