]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: media: tegra-video: vi: add flip controls only if no source controls are...
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 3 Mar 2026 08:42:26 +0000 (10:42 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 19 Mar 2026 07:18:35 +0000 (08:18 +0100)
commit4c9f5dc5210b0cbcf5582c8e1484659da376807f
tree4ecef25059d9b268464a68aba48848d57737aeeb
parent8a50111951356d1975f63dcf3dd2f91edacfadf1
staging: media: tegra-video: vi: add flip controls only if no source controls are provided

Because the current Tegra video driver is video-centric, it exposes all
controls via /dev/video. If both the camera sensor and the VI provide
hflip and vflip, the driver will fail because only one control is allowed.
To address this, hflip and vflip should be added from the SoC only if the
camera sensor doesn't provide those controls.

Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # tegra20, parallel camera
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/tegra-video/vi.c