| commit | b2db45e03422c2a9a407139cf1d09b20bc27f1ec | [log] [tgz] |
|---|---|---|
| author | David Herrmann <dh.herrmann@googlemail.com> | Sun Jun 10 15:16:22 2012 +0200 |
| committer | Gerrit Code Review <evervolv.gerrit2@p000000.pubip.peer1.net> | Sun Feb 03 20:40:31 2013 +0000 |
| tree | 5d8cd6a33b7ae8fb4571b7527e43352d16a3cfd7 | |
| parent | a5baee69343affdc92dc71897bf665d7b45196ec [diff] |
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 <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>