Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94105
b: refs/heads/master
c: f7440b0
h: refs/heads/master
i:
  94103: 026541a
v: v3
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed Apr 28, 2008
1 parent 62bf61a commit 311ac57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 61711f8fd8180e458cfb6846bcf4fc636a95f3db
refs/heads/master: f7440b0ecdeb3a04d07c546d02d29700d2a574b7
7 changes: 3 additions & 4 deletions trunk/drivers/mfd/ucb1x00-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ static inline int ucb1x00_ts_pen_down(struct ucb1x00_ts *ts)
static int ucb1x00_thread(void *_ts)
{
struct ucb1x00_ts *ts = _ts;
struct task_struct *tsk = current;
DECLARE_WAITQUEUE(wait, tsk);
DECLARE_WAITQUEUE(wait, current);
int valid = 0;

set_freezable();
Expand Down Expand Up @@ -234,7 +233,7 @@ static int ucb1x00_thread(void *_ts)


if (ucb1x00_ts_pen_down(ts)) {
set_task_state(tsk, TASK_INTERRUPTIBLE);
set_current_state(TASK_INTERRUPTIBLE);

ucb1x00_enable_irq(ts->ucb, UCB_IRQ_TSPX, machine_is_collie() ? UCB_RISING : UCB_FALLING);
ucb1x00_disable(ts->ucb);
Expand Down Expand Up @@ -262,7 +261,7 @@ static int ucb1x00_thread(void *_ts)
valid = 1;
}

set_task_state(tsk, TASK_INTERRUPTIBLE);
set_current_state(TASK_INTERRUPTIBLE);
timeout = HZ / 100;
}

Expand Down

0 comments on commit 311ac57

Please sign in to comment.