aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2012-06-10 13:16:22 +0000
committerJiri Kosina <[email protected]>2012-06-18 11:42:02 +0000
commite7191474a5459e6ba7039fadca6a32f3a5731909 (patch)
tree004e573b35323ae0b92907334a4ef12e4aed4fe2 /lib/mpi/mpiutil.c
parentHID: uhid: add UHID_START and UHID_STOP events (diff)
downloadkernel-e7191474a5459e6ba7039fadca6a32f3a5731909.tar.gz
kernel-e7191474a5459e6ba7039fadca6a32f3a5731909.zip
HID: uhid: forward open/close events to user-space
HID core notifies us with *_open/*_close callbacks when there is an actual user of our device. We forward these to user-space so they can react on this. This allows user-space to skip I/O unless they receive an OPEN event. When they receive a CLOSE event they can stop I/O again to save energy. Signed-off-by: David Herrmann <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions