aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-11-10 10:55:39 +0000
committerMauro Carvalho Chehab <[email protected]>2021-11-15 08:11:58 +0000
commit22f2cac62dea739d395007b3ce68def36adafd6c (patch)
tree4f2cee597b6694e12400b094d835066694f66545 /tools/perf/scripts/python/libxed.py
parentd9916e7c87c97781579c3d3d47e52c564e321c21 (diff)
media: atomisp-ov2680: properly set the vts value
The vts value should be set before being checked, as otherwise a warning will arise: drivers/staging/media/atomisp/i2c/atomisp-ov2680.c: In function 'ov2680_set_fmt': drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:873:33: warning: 'vts' may be used uninitialized [-Wmaybe-uninitialized] 873 | if (dev->exposure > vts - OV2680_INTEGRATION_TIME_MARGIN) Reported-by: Hans Verkuil <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Fixes: 62b984359b6f ("media: atomisp-ov2680: Fix ov2680_set_fmt() messing up high exposure settings") Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions