]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: uvcvideo: Add new quirk definition for the Sonix Technology Co. 292a camera
authorIsaac Scott <isaac.scott@ideasonboard.com>
Thu, 28 Nov 2024 14:51:44 +0000 (14:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:24 +0000 (14:01 +0100)
commit7706d1edb90db641cc5bb2fa999106b53d3179fd
tree8cb0f1ed3c1a11af405274a5f6d7dc8220bb887d
parent1b259a5df5e60299bd156efe8c995b3ad8a1ba6f
media: uvcvideo: Add new quirk definition for the Sonix Technology Co. 292a camera

[ Upstream commit 81f8c0e138c43610cf09b8d2a533068aa58e538e ]

The Sonix Technology Co. 292A camera (which uses an AR0330 sensor), can
produce MJPEG and H.264 streams concurrently. When doing so, it drops
the last packets of MJPEG frames every time the H.264 stream generates a
key frame. Set the UVC_QUIRK_MJPEG_NO_EOF quirk to work around the
issue.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Isaac Scott <isaac.scott@ideasonboard.com>
Link: https://lore.kernel.org/r/20241128145144.61475-3-isaac.scott@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/uvc/uvc_driver.c