Fix data reporting state when using HID device
Start and Stop are called on HID driver probe/unprobe. Open/Close are called when driver is interesed/not-interested in data reports, typically when user-space open/close the input device. So we can have several open/close calls for one start/stop cycle. https://www.kernel.org/doc/Documentation/hid/hid-transport.txt Problem is that current implementation disables data reporting on close but never enables it on open. This patch fixes this issue to match the expected behavior. Change-Id: Id5d4627dba389338b06df60a6e1d993ac3e3e5ec Signed-off-by:Loic Poulain <loic.poulain@intel.com> Signed-off-by:
Zhiquan Liu <zhiquan.liu@intel.com>
Loading
Please register or sign in to comment