]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: bcm2835-unicam: Disable trigger mode operation
authorNaushir Patuck <naush@raspberrypi.com>
Wed, 27 Nov 2024 11:15:14 +0000 (11:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:23 +0000 (14:01 +0100)
commiteef0ce8d8d36d7a72340cc733256242d2da9366a
treee13317817ced947066c813a24d46bcf4a11ab74f
parent810634a07675858531119e98b81263ab3e4dcc08
media: bcm2835-unicam: Disable trigger mode operation

[ Upstream commit 697a252bb2ea414cc1c0b4cf4e3d94a879eaf162 ]

The imx219/imx708 sensors frequently generate a single corrupt frame
(image or embedded data) when the sensor first starts. This can either
be a missing line, or invalid samples within the line. This only occurrs
using the upstream Unicam kernel driver.

Disabling trigger mode elimiates this corruption. Since trigger mode is
a legacy feature copied from the firmware driver and not expected to be
needed, remove it. Tested on the Raspberry Pi cameras and shows no ill
effects.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/broadcom/bcm2835-unicam.c