diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-06-10 15:16:21 +0200 |
---|---|---|
committer | Humberto Borba <humberos@gmail.com> | 2013-01-12 21:05:08 -0200 |
commit | 4517caad80e5d9b3111e98c745ed5a574125eb1b (patch) | |
tree | efde41dc88e6ec8b9de27f1bec9f3b3e3e322fb3 /include | |
parent | 3c0a833879f71ea38fe6886183a41eaf27238253 (diff) | |
download | kernel_samsung_smdk4412-4517caad80e5d9b3111e98c745ed5a574125eb1b.zip kernel_samsung_smdk4412-4517caad80e5d9b3111e98c745ed5a574125eb1b.tar.gz kernel_samsung_smdk4412-4517caad80e5d9b3111e98c745ed5a574125eb1b.tar.bz2 |
HID: uhid: add UHID_START and UHID_STOP events
We send UHID_START and UHID_STOP events to user-space when the HID core
starts/stops the device. This notifies user-space about driver readiness
and data-I/O can start now.
This directly forwards the callbacks from hid-core to user-space.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/uhid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/uhid.h b/include/linux/uhid.h index 6eb42be..f8ce6f7 100644 --- a/include/linux/uhid.h +++ b/include/linux/uhid.h @@ -25,6 +25,8 @@ enum uhid_event_type { UHID_CREATE, UHID_DESTROY, + UHID_START, + UHID_STOP, UHID_INPUT, }; |