input/hog: Cache the HID report map
authorSonny Sasaka <sonnysasaka@chromium.org>
Mon, 14 Dec 2020 22:15:02 +0000 (14:15 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit14817b6fb86970401e3e4a93c3fe46f981df7912
treebb5beb0d09cdc491c7473375dff63fd9e6744227
parentba544ad4effaeb8dc6c4f1d06a80b1702389f4fe
input/hog: Cache the HID report map

To optimize BLE HID devices reconnection response, we can cache the
report map so that the subsequent reconnections do not need round trip
time to read the report map.

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