summaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-06-08 18:56:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-01 16:32:27 -0300
commit6a8c97ac92461ec57e36b10572e78d4221e8faa8 (patch)
tree5df3cc1a472ff86b8e05bff0ac29802e84ac280f /lib/timerqueue.c
parent1ba9268c2bfeebfd70193145685e12faeae92882 (diff)
[media] lirc_zilog: fix spinning rx thread
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 5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95, and I'm not sure how I missed it before, as I swear I tested the patchset that was included in, but alas, stuff happens... Acked-by: Andy Walls <awalls@md.metrocast.net> CC: stable@kernel.org Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions