linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 4/4] input: ads7846.c sparse lock annotation
@ 2008-08-20 23:46 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-08-20 23:46 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
@@ -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;
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-20 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-20 23:46 [patch 4/4] input: ads7846.c sparse lock annotation akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).