summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ctrls-request.c
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2025-08-28 19:06:54 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-09-04 11:06:13 +0300
commit91c5d7c849273d14bc4bae1b92666bdb5409294a (patch)
treeeabe24a8dc762073e756505459334c50cbec6b92 /drivers/media/v4l2-core/v4l2-ctrls-request.c
parentdf2cd073da6ed286e26f88a2f2a6a51140cbf56b (diff)
downloadlinux-91c5d7c849273d14bc4bae1b92666bdb5409294a.tar.xz
media: adv7180: Only validate format in querystd
The .querystd callback should not program the device with the detected standard, it should only report the standard to user-space. User-space may then use .s_std to set the standard, if it wants to use it. All that is required of .querystd is to setup the auto detection of standards and report its findings. While at it add some documentation on why this can't happen while streaming and improve the error handling using a scoped guard. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-request.c')
0 files changed, 0 insertions, 0 deletions