Re: [PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

2014-05-24 Thread Jonathan Cameron
On 14/05/14 02:49, Reyad Attiyat wrote: Here is a sample of the kernel lockdep warning I got after turingon dynamic debugging: https://bugzilla.kernel.org/show_bug.cgi?id=73321#c3 On Tue, May 13, 2014 at 8:03 PM, Reyad Attiyat wrote: Changes all dyn_callback_lock spinlocks to spinlocks that

Re: [PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

2014-05-13 Thread Reyad Attiyat
Here is a sample of the kernel lockdep warning I got after turingon dynamic debugging: https://bugzilla.kernel.org/show_bug.cgi?id=73321#c3 On Tue, May 13, 2014 at 8:03 PM, Reyad Attiyat wrote: > Changes all dyn_callback_lock spinlocks to spinlocks that disable > interrupts. The dynamic callbac

[PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

2014-05-13 Thread Reyad Attiyat
Changes all dyn_callback_lock spinlocks to spinlocks that disable interrupts. The dynamic callback lock (dyn_callback_lock) must not be interrupted when locked as it is used in an interrupt handler function, sensor_hub_raw_event. --- drivers/hid/hid-sensor-hub.c | 31 ++