Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250521
b: refs/heads/master
c: 4a1a42a
h: refs/heads/master
i:
  250519: 369d34b
v: v3
  • Loading branch information
Thierry Reding authored and Dmitry Torokhov committed May 17, 2011
1 parent 3b8388b commit 1866b6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1e430e6369f5edac552d99bff15369ef8c6bbd2
refs/heads/master: 4a1a42af0aba011e263098f107a2f45e0de2f279
4 changes: 3 additions & 1 deletion trunk/drivers/input/touchscreen/tsc2007.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ static void tsc2007_work(struct work_struct *work)
{
struct tsc2007 *ts =
container_of(to_delayed_work(work), struct tsc2007, work);
bool debounced = false;
struct ts_event tc;
u32 rt;

Expand Down Expand Up @@ -191,6 +192,7 @@ static void tsc2007_work(struct work_struct *work)
* repeat at least once more the measurement.
*/
dev_dbg(&ts->client->dev, "ignored pressure %d\n", rt);
debounced = true;
goto out;

}
Expand Down Expand Up @@ -225,7 +227,7 @@ static void tsc2007_work(struct work_struct *work)
}

out:
if (ts->pendown)
if (ts->pendown || debounced)
schedule_delayed_work(&ts->work,
msecs_to_jiffies(TS_POLL_PERIOD));
else
Expand Down

0 comments on commit 1866b6f

Please sign in to comment.