commit | 8c1c10d5706bbb3b41cb4a5578339d67d3eeffc2 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Oct 10 18:31:30 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Oct 10 18:35:18 2011 -0700 |
tree | d6769f259626c171c7941f85a4d00d65a74fb39c | |
parent | 85f5b35da86bcd63dd27f0976176169727f96da4 [diff] |
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>