| commit | 7347784104f1546b0b647519dd2cece68a23df98 | [log] [tgz] |
|---|---|---|
| author | David Herrmann <dh.herrmann@googlemail.com> | Sun Jun 10 15:16:22 2012 +0200 |
| committer | andrew.boren <andrew.boren@gmail.com> | Sun Dec 30 13:54:17 2012 -0700 |
| tree | dad56a0f43ade3a07cc02f116873d50be6fe60a5 | |
| parent | 1598907c701bd271d1272180d1a766b04bd6cf73 [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>