Re: [PATCH] HID: hid-sensor-hub: Fix debug lock warning

2015-05-07 Thread Srinivas Pandruvada
On Thu, 2015-05-07 at 10:39 +0200, Jiri Kosina wrote: > On Tue, 5 May 2015, Srinivas Pandruvada wrote: > > > When CONFIG_DEBUG_LOCK_ALLOC is defined, mutex magic is compared and > > warned for (l->magic != l), here l is the address of mutex pointer. > > In hid-sensor-hub as part of hsdev creation,

Re: [PATCH] HID: hid-sensor-hub: Fix debug lock warning

2015-05-07 Thread Jiri Kosina
On Tue, 5 May 2015, Srinivas Pandruvada wrote: > When CONFIG_DEBUG_LOCK_ALLOC is defined, mutex magic is compared and > warned for (l->magic != l), here l is the address of mutex pointer. > In hid-sensor-hub as part of hsdev creation, a per hsdev mutex is > initialized during MFD cell creation. Th