From: Dmitry Torokhov Date: Tue, 11 Oct 2011 01:31:30 +0000 (-0700) Subject: Input: serio_raw - kick clients when disconnecting port X-Git-Tag: v3.2-rc1~145^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1c10d5706bbb3b41cb4a5578339d67d3eeffc2;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed