diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-02-18 16:05:50 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-03-04 13:35:32 +0100 |
commit | 38985a25682c66d1a7599b0e95ceeb9c7ba89f84 (patch) | |
tree | a141fa2b4e6206a5973c090a6fba4d5d1d122a28 /tools/perf/scripts/python | |
parent | d8bf3298df57a1105ae9c015760f4c682637f5e8 (diff) |
media: i2c: imx214: Fix uninitialized variable in imx214_set_ctrl()
You can't pass uninitialized "ret" variables to cci_write(). It has to
start as zero.
Fixes: 4f0aeba4f155 ("media: i2c: imx214: Convert to CCI register access helpers")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: André Apitzsch <git@apitzsch.eu>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions