Parent: fccfc3b5e6c4fe94d1196d61062b35e878f84899
Author: Sonny Sasaka <sonnysasaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-01-25 23:52:58
Tree: b08b10805a09ea5c99498fbf21e44458b43e8b01
input/hog: Fix double registering report value callbacks In commit 23b69ab3e484 ("input/hog: Cache the HID report map"), we optimized HOG reconnection by registering report value callbacks early, but there was a bug where we also re-register the same report value callbacks after at CCC write callback. We should handle this case by avoiding the second callback register if we know we have done it earlier.
Diffstat
| M | profiles/input/hog-lib.c | | | 6 | ++++++ |
1 files changed, 6 insertions(+), 0 deletions(-)