From: Harvey Harrison Signed-off-by: Harvey Harrison Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- 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 @@ -741,6 +741,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; _