commit | 5e3e4eb1bf212d9ae4997ebcbe2fdfb348b70213 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Aug 02 22:22:46 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Aug 09 01:32:45 2011 -0700 |
tree | 2371dd2e1b22dbf59506a33d87006cd983b31a1b | |
parent | 11205bb63e5c2e5174f377595103005b00c68370 [diff] |
Input: polldev - immediately poll device upon opening To allow open/ioctl(EVIOCGABS)/close use pattern for polled devices read the device in context of open() call instead of offloading the first read to a workqueue. This will ensure that once call to open() returns device would have cached reasonably recent axis values that can be retrieved via appropriate ioctl. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>