drivers: bcm2835_unicam: Disable trigger mode operation
authorNaushir Patuck <naush@raspberrypi.com>
Tue, 18 Jan 2022 13:13:14 +0000 (13:13 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 18 Jan 2022 14:26:57 +0000 (14:26 +0000)
commit59aeb16c7f1254f1383476956dda0766d10c918a
tree8627fd5f0e7a3474c80522718f32dfe94040d9da
parent0b54dbda3cca2beb51e236a25738784e90853b64
drivers: bcm2835_unicam: Disable trigger mode operation

On a Pi3 B/B+ platform the imx219 sensor frequently generates a single corrupt
frame when the sensor first starts. This can either be a missing line, or
invalid samples within the line. This only occurrs using the 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>
drivers/media/platform/bcm2835/bcm2835-unicam.c