* [patch 3/7] input: ads7846.c sparse lock annotation
@ 2008-10-29 21:19 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-10-29 21:19 UTC (permalink / raw)
To: dtor; +Cc: linux-input, akpm, harvey.harrison
From: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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;
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-29 21:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 21:19 [patch 3/7] input: ads7846.c sparse lock annotation akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.