diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-05 04:19:42 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-04-06 14:31:59 +0200 |
| commit | 9a4619ef6cc1182ba02d9d465903d47a12bdc55a (patch) | |
| tree | 2af1359c1163b9d56ba3c9aa8c5bfbc1fe04d9bd /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a7de6eac6f6f73d48d97a6c93032107775f4593b (diff) | |
media: i2c: imx274: fix error return code of imx274_s_frame_interval()
When __v4l2_ctrl_modify_range() fails, no error return code of
imx274_s_frame_interval() is assigned.
To fix this bug, ret is assigned with the return valye of
__v4l2_ctrl_modify_range(), and then ret is checked.
Reported-by: TOTE Robot <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions