[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131022171359.GC2620@lee--X1>
Date: Tue, 22 Oct 2013 18:13:59 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: Samuel Ortiz <sameo@...ux.intel.com>, linux-kernel@...r.kernel.org,
Zubair Lutfullah <zubair.lutfullah@...il.com>,
Felipe Balbi <balbi@...com>, kishon@...com
Subject: Re: [PATCH] mfd: ti_am335x_tscadc: avoid possible deadlock of
reg_lock
On Tue, 22 Oct 2013, Sebastian Andrzej Siewior wrote:
> Since the addition of continuous sampling mode and shared irq support,
> the reg_lock lock can be taken with and without interrupts. This patch
> uses the *_irq* variant which should be used in order to avaoid a deadlock.
>
> Cc: Zubair Lutfullah <zubair.lutfullah@...il.com>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> ---
> drivers/mfd/ti_am335x_tscadc.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
Good catch. Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists