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

Subject: media: streamzap: remove unnecessary ir_raw_event_reset and handle
Author:  Sean Young <[email protected]>
Date:    Sun Dec 5 18:06:30 2021 +0100

There is no reason to have a reset after an IR timeout.
Calling ir_raw_event_handle() twice for the same interrupt has no
affect.

Fixes: 56b0ec30c4bc ("[media] rc/streamzap: fix reporting response times")
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/rc/streamzap.c | 2 --
 1 file changed, 2 deletions(-)

---

diff --git a/drivers/media/rc/streamzap.c b/drivers/media/rc/streamzap.c
index 1cc5ebb85b6c..76f5c72501c4 100644
--- a/drivers/media/rc/streamzap.c
+++ b/drivers/media/rc/streamzap.c
@@ -244,8 +244,6 @@ static void streamzap_callback(struct urb *urb)
                                sz->idle = true;
                                if (sz->timeout_enabled)
                                        sz_push(sz, rawir);
-                               ir_raw_event_handle(sz->rdev);
-                               ir_raw_event_reset(sz->rdev);
                        } else {
                                sz_push_full_space(sz, sz->buf_in[i]);
                        }

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

Reply via email to