input/device: Send UHID_DESTROY upon disconnection
authorArchie Pusaka <apusaka@chromium.org>
Mon, 3 Aug 2020 06:52:24 +0000 (14:52 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:50 +0000 (14:30 +0530)
commitc9e030fc85896794495596128e87803ecf3412e9
tree2ee198776d722d654740a15bfa1d0c65f96cc468
parent58341ea989cedae57f443e3697e51049d3b2b3ee
input/device: Send UHID_DESTROY upon disconnection

According to the uhid documentation: "If your device disconnects,
you should send an UHID_DESTROY event"

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