diff options
author | Sean Young <sean@mess.org> | 2022-01-15 11:12:35 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-01-28 19:32:50 +0100 |
commit | 950170d6d2a5d3c0c959696d2440e5c8dfd02896 (patch) | |
tree | 691a5917c98153c21e7198db271173118c3342a0 /drivers/media/rc/sunxi-cir.c | |
parent | b2a90f4fcb146d0e033203ab646f0fd22cfa947f (diff) | |
download | lwn-950170d6d2a5d3c0c959696d2440e5c8dfd02896.tar.gz lwn-950170d6d2a5d3c0c959696d2440e5c8dfd02896.zip |
media: rc-core: rename ir_raw_event_reset to ir_raw_event_overflow
The driver report a reset event when the hardware reports and overflow.
There is no reason to have a generic "reset" event.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/rc/sunxi-cir.c')
-rw-r--r-- | drivers/media/rc/sunxi-cir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index 391a591c1b75..b631a81e58bb 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -126,7 +126,7 @@ static irqreturn_t sunxi_ir_irq(int irqno, void *dev_id) } if (status & REG_RXSTA_ROI) { - ir_raw_event_reset(ir->rc); + ir_raw_event_overflow(ir->rc); } else if (status & REG_RXSTA_RPE) { ir_raw_event_set_idle(ir->rc, true); ir_raw_event_handle(ir->rc); |