Searched hist:"8 c1c10d5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/serio/ |
H A D | serio_raw.c | 8c1c10d5 Mon Oct 10 20:31:30 CDT 2011 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: serio_raw - kick clients when disconnecting port
Send SIGIO/POLL_HUP and otherwise wake up waiters when corresponding serio port is being disconnected. Also check if port is dead in serio_raw_poll and signal POLLHUP|POLLERR.
This should speed up process of releasing dead devices by userspace applications.
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> 8c1c10d5 Mon Oct 10 20:31:30 CDT 2011 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: serio_raw - kick clients when disconnecting port Send SIGIO/POLL_HUP and otherwise wake up waiters when corresponding serio port is being disconnected. Also check if port is dead in serio_raw_poll and signal POLLHUP|POLLERR. This should speed up process of releasing dead devices by userspace applications. Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
|