commit | 4da212e2ffaa34edb887a3a86424124fe8341e34 | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Mon Aug 13 08:59:48 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Aug 13 16:19:13 2012 -0300 |
tree | d7688629db376758548694346324653ca618d67c | |
parent | b83bfd1b0127b0963fcac39280280e365e7e04d8 [diff] |
[media] saa7134: simplify timer activation This simplies the code and resolves a possible race condition between ir_raw_decode_timer_end() and saa7134_raw_decode_irq(). If the interrupt handler is called after ir_raw_decode_timer_end() calls ir_raw_event_handle() but before clearing ir->active, then the timer won't be rearmed. Compile tested only. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>