lkml.org 
[lkml]   [2014]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: kempld-core: Fix potential hang-up during boot
On Thu, Mar 20, 2014 at 03:28:12PM +0000, Lee Jones wrote:
> > On PXT and COMe-cPC2 boards it is observed that the hardware
> > mutex is acquired but not being released during initialization.
> > This can result in a hang-up during boot if the driver is built
> > into the kernel.
> >
> > Releasing the mutex twice if it was acquired fixes the problem.
> > Subsequent request/release cycles work as expected, so the fix is
> > only needed during initialization.
> >
> > Reviewed-by: Michael Brunner <michael.brunner@kontron.com>
> > Tested-by: Michael Brunner <michael.brunner@kontron.com>
> > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> > ---
> > drivers/mfd/kempld-core.c | 7 +++++--
> > 1 file changed, 5 insertions(+), 2 deletions(-)
>
> I was going to stop taking patches for this cycle, but as this looks
> like a bugfix I'll apply it, thanks.
>

Hi Lee,

Great.

I should have added a note - the patch will also be needed in -stable;
the driver is used in both 3.12 and 3.13.

Thanks,
Guenter


\
 
 \ /
  Last update: 2014-03-20 17:21    [W:0.296 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site