* [PATCH 2/2] input: ads7846.c sparse lock annotation
@ 2008-07-04 0:47 Harvey Harrison
0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-07-04 0:47 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Andrew Morton, LKML
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/input/touchscreen/ads7846.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
index 4d06032..d8aaea1 100644
--- a/drivers/input/touchscreen/ads7846.c
+++ b/drivers/input/touchscreen/ads7846.c
@@ -739,6 +739,8 @@ static irqreturn_t ads7846_irq(int irq, void *handle)
/* Must be called with ts->lock held */
static void ads7846_disable(struct ads7846 *ts)
+__acquires(&ts->lock)
+__releases(&ts->lock)
{
if (ts->disabled)
return;
--
1.5.6.1.281.g1087e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-04 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 0:47 [PATCH 2/2] input: ads7846.c sparse lock annotation Harvey Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox