From: Harvey Harrison <harvey.harrison@xxxxxxxxx> Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/input/touchscreen/ads7846.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/input/touchscreen/ads7846.c~input-ads7846c-sparse-lock-annotation drivers/input/touchscreen/ads7846.c --- a/drivers/input/touchscreen/ads7846.c~input-ads7846c-sparse-lock-annotation +++ a/drivers/input/touchscreen/ads7846.c @@ -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) +__acquires(&ts->lock) +__releases(&ts->lock) { if (ts->disabled) return; _ -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html