Skip to content
Commit 8fd76c45 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Dmitry Torokhov
Browse files

Input: mac_hid - add lockdep annotation to emumousebtn



The mouse button emulation calls input device methods from an input
device. This causes funny lock nesting which is harmless as each
device has its own locks.

Give the nesting device its own lock classes so that lockdep will not
consider them the same.

Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 8c6deb9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment