[PATCH] [media] lirc_zilog: fix spinning rx thread

2011-06-09 Thread Jarod Wilson
We were calling schedule_timeout with the rx thread's task state still at TASK_RUNNING, which it shouldn't be. Make sure we call set_current_state(TASK_INTERRUPTIBLE) *before* schedule_timeout, and we're all good here. I believe this problem was mistakenly introduced in commit

Re: [PATCH] [media] lirc_zilog: fix spinning rx thread

2011-06-09 Thread Andy Walls
Jarod Wilson ja...@redhat.com wrote: We were calling schedule_timeout with the rx thread's task state still at TASK_RUNNING, which it shouldn't be. Make sure we call set_current_state(TASK_INTERRUPTIBLE) *before* schedule_timeout, and we're all good here. I believe this problem was mistakenly