aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2018-07-18 06:06:23 -0400
committerMauro Carvalho Chehab <[email protected]>2018-09-17 15:23:59 -0400
commitbad1774ed41e98a43074e50e7d5ac9e1e848d99a (patch)
tree067d5bf28e664a192061ab804637b53859641f8e /tools/perf/scripts/python/call-graph-from-sql.py
parentaa4bb8b8838ffcc776a79f49a4d7476b82405349 (diff)
media: ov5640: Fix timings setup code
As of: commit 476dec012f4c ("media: ov5640: Add horizontal and vertical totals") the timings parameters gets programmed separately from the static register values array. When changing capture mode, the vertical and horizontal totals gets inspected by the set_mode_exposure_calc() functions, and only later programmed with the new values. This means exposure, light banding filter and shutter gain are calculated using the previous timings, and are thus not correct. Fix this by programming timings right after the static register value table has been sent to the sensor in the ov5640_load_regs() function. Fixes: 476dec012f4c ("media: ov5640: Add horizontal and vertical totals") Tested-by: Steve Longerbeam <[email protected]> # i.MX6q SabreSD, CSI-2 Tested-by: Loic Poulain <[email protected]> # Dragonboard-410c, CSI-2 Signed-off-by: Samuel Bobrowicz <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Jacopo Mondi <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions