Messages in this thread | | | Date | Tue, 22 Oct 2013 18:13:59 +0100 | From | Lee Jones <> | 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@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/
| |