drivers: bcm2835_unicam: Disable trigger mode operation
authorNaushir Patuck <naush@raspberrypi.com>
Tue, 18 Jan 2022 13:13:14 +0000 (13:13 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:38 +0000 (16:04 +0000)
commitd98ac5511cfd8caa00900c3679959b4001d1ef1a
tree679104493e4b8ba1eaae150ec6e6b5baa7ea6a73
parent3a327a49ca922fe0af150c9f2cca94e8aa62a48e
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