projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fede65
)
media: streamzap: remove unnecessary ir_raw_event_reset and handle
author
Sean Young
<sean@mess.org>
Sun, 5 Dec 2021 17:06:30 +0000
(18:06 +0100)
committer
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Tue, 14 Dec 2021 14:09:13 +0000
(15:09 +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 <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/streamzap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/rc/streamzap.c
b/drivers/media/rc/streamzap.c
index 1cc5ebb85b6cf074fbee6147ea81d6f4a7d81760..76f5c72501c4eb3cdb3e674123affafe1dff2481 100644
(file)
--- 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]);
}