From: Dmitry Torokhov Date: Tue, 11 Oct 2011 01:31:04 +0000 (-0700) Subject: Input: serio_raw - explicitly mark disconnected ports as dead X-Git-Tag: v3.2-rc1~145^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85f5b35da86bcd63dd27f0976176169727f96da4;p=pandora-kernel.git Input: serio_raw - explicitly mark disconnected ports as dead Instead of relying on setting serio_raw->serio to NULL upon disconnecting ports mark them explicitly as "dead". Also take and carry reference to underlying serio port to make sure it does not go away until we are done with it. Reviewed-by: Wanlong Gao Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed