Message ID | 831d12fe5ec195c27a4ebe1c8ae562f525df54d4.1638266939.git.sean@mess.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] media: lirc: always send timeout reports | expand |
diff --git a/drivers/media/rc/iguanair.c b/drivers/media/rc/iguanair.c index 84949baf9f6b..f8d080e41f4c 100644 --- a/drivers/media/rc/iguanair.c +++ b/drivers/media/rc/iguanair.c @@ -262,9 +262,6 @@ static int iguanair_receiver(struct iguanair *ir, bool enable) ir->packet->header.direction = DIR_OUT; ir->packet->header.cmd = enable ? CMD_RECEIVER_ON : CMD_RECEIVER_OFF; - if (enable) - ir_raw_event_reset(ir->rc); - return iguanair_send(ir, sizeof(ir->packet->header)); }
An IR reset is only used when the IR hardware reports an error. Signed-off-by: Sean Young <sean@mess.org> --- drivers/media/rc/iguanair.c | 3 --- 1 file changed, 3 deletions(-)