From: Dmitry Torokhov Date: Tue, 1 Apr 2008 04:22:53 +0000 (-0400) Subject: Input: make sure input interfaces pin parent input devices X-Git-Tag: v2.6.25-rc8~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7097ff89c3204737a07eecbc83f9ae6002cc534;p=pandora-kernel.git Input: make sure input interfaces pin parent input devices Recent driver core change causes references to parent devices being dropped early, at device_del() time, as opposed to when all children are freed. This causes oops in evdev with grabbed devices. Take the reference to the parent input device ourselves to ensure that it stays around long enough. Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed