lkml.org 
[lkml]   [2013]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.com>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2013-10-22 19:41    [W:0.058 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site