]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: streamzap: remove unnecessary ir_raw_event_reset and handle
authorSean Young <sean@mess.org>
Sun, 5 Dec 2021 17:06:30 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:25 +0000 (07:44 +0200)
commitfa5fec7f15559210a849117f2723e6ffefca696c
tree75ad0bf7e0478826a6c503f565721b0f48dde476
parented4ee9639b07cc5c543a6897ceed708bacdfae24
media: streamzap: remove unnecessary ir_raw_event_reset and handle

[ Upstream commit 4bed9306050497f49cbe77b842f0d812f4f27593 ]

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>
Stable-dep-of: f656cfbc7a29 ("media: streamzap: fix race between device disconnection and urb callback")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/rc/streamzap.c