Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254644
b: refs/heads/master
c: 6a8c97a
h: refs/heads/master
v: v3
  • Loading branch information
Jarod Wilson authored and Mauro Carvalho Chehab committed Jul 1, 2011
1 parent b1f4740 commit 5db2605
Show file tree
Hide file tree
Showing 2 changed files with 3 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/master: 1ba9268c2bfeebfd70193145685e12faeae92882
refs/heads/master: 6a8c97ac92461ec57e36b10572e78d4221e8faa8
4 changes: 2 additions & 2 deletions trunk/drivers/staging/lirc/lirc_zilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,14 +475,14 @@ static int lirc_thread(void *arg)
dprintk("poll thread started\n");

while (!kthread_should_stop()) {
set_current_state(TASK_INTERRUPTIBLE);

/* if device not opened, we can sleep half a second */
if (atomic_read(&ir->open_count) == 0) {
schedule_timeout(HZ/2);
continue;
}

set_current_state(TASK_INTERRUPTIBLE);

/*
* This is ~113*2 + 24 + jitter (2*repeat gap + code length).
* We use this interval as the chip resets every time you poll
Expand Down

0 comments on commit 5db2605

Please sign in to comment.