Message ID | E1khvE4-009b3t-24@www.linuxtv.org |
---|---|
State | Accepted |
Commit | 3f56df4c8ffeb120ed41906d3aae71799b7e726a |
Headers | show |
Series | [git:media_tree/master] media: sunxi-cir: ensure IR is handled when it is continuous | expand |
diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index ddee6ee37bab..4afc5895bee7 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -137,6 +137,8 @@ static irqreturn_t sunxi_ir_irq(int irqno, void *dev_id) } else if (status & REG_RXSTA_RPE) { ir_raw_event_set_idle(ir->rc, true); ir_raw_event_handle(ir->rc); + } else { + ir_raw_event_handle(ir->rc); } spin_unlock(&ir->ir_lock);