commit | a7097ff89c3204737a07eecbc83f9ae6002cc534 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Apr 01 00:22:53 2008 -0400 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Apr 01 00:22:53 2008 -0400 |
tree | 11fe55cbfb3651fc57e59fc838d1e084f5e63749 | |
parent | 399f486286f44d55c4fff0e9cc5d712f2b443489 [diff] |
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 <dtor@mail.ru>