Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144862
b: refs/heads/rpi-3.6.y
c: 705a76d
h: refs/heads/rpi-3.6.y
v: v3
  • Loading branch information
Thierry Reding authored and dtor committed May 11, 2009
1 parent 8368d80 commit 537bb31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/rpi-3.6.y: 9166d0f620d5dd4a128711bdeedb3e0f534d9d49
refs/heads/rpi-3.6.y: 705a76d2d22a2824f45f07d023a380293554e989
5 changes: 3 additions & 2 deletions trunk/drivers/input/touchscreen/tsc2007.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ static int tsc2007_read_values(struct tsc2007 *tsc)
static enum hrtimer_restart tsc2007_timer(struct hrtimer *handle)
{
struct tsc2007 *ts = container_of(handle, struct tsc2007, timer);
unsigned long flags;

spin_lock_irq(&ts->lock);
spin_lock_irqsave(&ts->lock, flags);

if (unlikely(!ts->get_pendown_state() && ts->pendown)) {
struct input_dev *input = ts->input;
Expand All @@ -222,7 +223,7 @@ static enum hrtimer_restart tsc2007_timer(struct hrtimer *handle)
tsc2007_send_event(ts);
}

spin_unlock_irq(&ts->lock);
spin_unlock_irqrestore(&ts->lock, flags);

return HRTIMER_NORESTART;
}
Expand Down

0 comments on commit 537bb31

Please sign in to comment.