Skip to content
Snippets Groups Projects
Commit a7097ff8 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

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: default avatarDmitry Torokhov <dtor@mail.ru>
parent 399f4862
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment