Skip to contentSkip to conversation

input: ads7846.c sparse lock annotation

PATCH New Harvey Harrison 1 participant 1 message Jul 4, 2008 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 input: ads7846.c sparse lock annotation

---
 drivers/input/touchscreen/ads7846.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/input/touchscreen/ads7846.c +2 -0
index 4d06032..d8aaea1 100644
@@ -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;
Signature · 1 line
1.5.6.1.281.g1087e