input: ads7846.c sparse lock annotation
Subsystems (2)
PATCH 8/17 input: ads7846.c sparse lock annotation
From: Harvey Harrison <[email protected]>
Signed-off-by Harvey Harrison <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/input/touchscreen/ads7846.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/input/touchscreen/ads7846.c renamed from drivers/input/touchscreen/ads7846.c~input-ads7846c-sparse-lock-annotation +2 -0
@@ -761,6 +761,8 @@ static irqreturn_t ads7846_irq(int irq,/* Must be called with ts->lock held */ static void ads7846_disable (struct ads7846 *ts) +__releases(&ts->lock) +__acquires(&ts->lock) {if (ts->disabled)return ;
_