This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: iguanair: no need for reset after IR receiver enable
Author:  Sean Young <[email protected]>
Date:    Sat Nov 27 14:53:49 2021 +0100

An IR reset is only used when the IR hardware reports an error.

Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/rc/iguanair.c | 3 ---
 1 file changed, 3 deletions(-)

---

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));
 }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to