From 349a589905a359e326048cfd95aabd98e7f462dd Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Wed, 15 Apr 2009 09:03:07 -0700 Subject: [PATCH] --- yaml --- r: 143537 b: refs/heads/master c: 180deb50880cdc5e9dd69ec97af0d6e72c5417fc h: refs/heads/master i: 143535: ed809cd6a0b7e1f22c5c60054edd3383ee70b2c7 v: v3 --- [refs] | 2 +- trunk/drivers/input/touchscreen/mainstone-wm97xx.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 599529cf71e1..fda5b5b44042 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9a03fbe802f4bd676de17af61aaaab8969982439 +refs/heads/master: 180deb50880cdc5e9dd69ec97af0d6e72c5417fc diff --git a/trunk/drivers/input/touchscreen/mainstone-wm97xx.c b/trunk/drivers/input/touchscreen/mainstone-wm97xx.c index dfa6a84ab50a..4cc047a5116e 100644 --- a/trunk/drivers/input/touchscreen/mainstone-wm97xx.c +++ b/trunk/drivers/input/touchscreen/mainstone-wm97xx.c @@ -111,13 +111,12 @@ static void wm97xx_acc_pen_up(struct wm97xx *wm) #else static void wm97xx_acc_pen_up(struct wm97xx *wm) { - int count = 16; + unsigned int count; + schedule_timeout_uninterruptible(1); - while (count < 16) { + for (count = 0; count < 16; count++) MODR; - count--; - } } #endif