summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHermes Wu <Hermes.wu@ite.com.tw>2026-09-30 14:41:20 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-09-30 16:50:57 +0200
commit6a4765c755751d788bc14140250ec5e7f22e9280 (patch)
tree0897a8880ee79e43c07d7cbed72a8f299683142f /tools/perf/scripts/python/flamegraph.py
parent5dd2fb5e64dcb341a11853f1136e990032a38a93 (diff)
media: i2c: it6625: propagate initial-setup and control-update errors
it6625_initial_setup() discarded every register write's return value internally, and probe() logged but did not propagate a failed it6625_v4l2_sd_ctrl_update() call; either way, probe() always registered the subdev regardless of failure. Make both functions return int, propagate the first error, and fail probe() with dev_err_probe() when either one fails. None of the three controls has a driver .ops, so the only failure path in v4l2_ctrl_s_ctrl() is range validation, and every value this driver passes is always in range -- this is an error-handling correctness fix responsive to review, not a fix for an observed runtime failure. Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions