diff options
author | Sean Young | 2012-08-13 13:59:48 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-08-13 21:19:13 +0200 |
commit | 4da212e2ffaa34edb887a3a86424124fe8341e34 (patch) | |
tree | d7688629db376758548694346324653ca618d67c /drivers/media/rc/ir-lirc-codec.c | |
parent | [media] rc: do not wake up rc thread unless there is something to do (diff) | |
download | kernel-qcow2-linux-4da212e2ffaa34edb887a3a86424124fe8341e34.tar.gz kernel-qcow2-linux-4da212e2ffaa34edb887a3a86424124fe8341e34.tar.xz kernel-qcow2-linux-4da212e2ffaa34edb887a3a86424124fe8341e34.zip |
[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>
Diffstat (limited to 'drivers/media/rc/ir-lirc-codec.c')
0 files changed, 0 insertions, 0 deletions