mfd: ti_am335x_tscadc: Avoid possible deadlock of reg_lock
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 22 Oct 2013 14:12:39 +0000 (16:12 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:22:37 +0000 (16:22 +0100)
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.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c

Simple merge