[PATCH 3.12 121/124] HID: hid-sensor-hub: fix sleeping function called from invalid context

2015-07-28 Thread Jiri Slaby
From: Srinivas Pandruvada 3.12-stable review patch. If anyone has any objections, please let me know. === commit f74346a04b79c9a5e50a2ee5e923b94195975d17 upstream. Fix issue with the sleeping calling hid_hw_request under spinlock. When i2c is used as HID transport, this is calling

Re: HID: hid-sensor-hub: fix sleeping function called from invalid context

2014-06-10 Thread Jiri Kosina
On Tue, 10 Jun 2014, Alexander Holler wrote: > >> Looking at the differences, I wonder if not all spin_lock() calls in > >> hid-sensor-hub.c should be changed into spin_lock_irqsave() like the > >> patch from Jiri Kosina did. > > > > Could you please give me your Tested-by:? I'll then be happil

Re: HID: hid-sensor-hub: fix sleeping function called from invalid context

2014-06-10 Thread Alexander Holler
Am 10.06.2014 00:40, schrieb Jiri Kosina: > On Tue, 10 Jun 2014, Alexander Holler wrote: > >> Hello, >> >> while rebasing the dozens (currently around 60) of refused, ignored or >> similiar bugfixes and patches I need to use a Linux kernel, I've noticed that >> Jiri Kosinas patch here >> >> https:

Re: HID: hid-sensor-hub: fix sleeping function called from invalid context

2014-06-09 Thread Jiri Kosina
On Mon, 9 Jun 2014, Srinivas Pandruvada wrote: > > > while rebasing the dozens (currently around 60) of refused, ignored > > > or similiar bugfixes and patches I need to use a Linux kernel, I've > > > noticed that Jiri Kosinas patch here > > > > > > https://lkml.org/lkml/2013/8/9/214 > > > > >

Re: HID: hid-sensor-hub: fix sleeping function called from invalid context

2014-06-09 Thread Srinivas Pandruvada
On 06/09/2014 03:40 PM, Jiri Kosina wrote: On Tue, 10 Jun 2014, Alexander Holler wrote: Hello, while rebasing the dozens (currently around 60) of refused, ignored or similiar bugfixes and patches I need to use a Linux kernel, I've noticed that Jiri Kosinas patch here https://lkml.org/lkml/201

Re: HID: hid-sensor-hub: fix sleeping function called from invalid context

2014-06-09 Thread Jiri Kosina
On Tue, 10 Jun 2014, Alexander Holler wrote: > Hello, > > while rebasing the dozens (currently around 60) of refused, ignored or > similiar bugfixes and patches I need to use a Linux kernel, I've noticed that > Jiri Kosinas patch here > > https://lkml.org/lkml/2013/8/9/214 > > doesn't apply any

HID: hid-sensor-hub: fix sleeping function called from invalid context

2014-06-09 Thread Alexander Holler
Hello, while rebasing the dozens (currently around 60) of refused, ignored or similiar bugfixes and patches I need to use a Linux kernel, I've noticed that Jiri Kosinas patch here https://lkml.org/lkml/2013/8/9/214 doesn't apply anymore. Looking why, I've seen that a similiar patch from Sri