]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:18 +0000 (12:50 +0100)
commit697a252bb2ea414cc1c0b4cf4e3d94a879eaf162
tree2952532036efcd7cb2ad25f52bd63584c934fd7a
parenta4781bf807052e04c7f22f7f9c2ae7d18d4639eb
media: bcm2835-unicam: Disable trigger mode operation

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>
drivers/media/platform/broadcom/bcm2835-unicam.c