diff options
| author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2021-03-05 04:19:42 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-06 14:31:59 +0200 |
| commit | 9a4619ef6cc1182ba02d9d465903d47a12bdc55a (patch) | |
| tree | 2af1359c1163b9d56ba3c9aa8c5bfbc1fe04d9bd /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a7de6eac6f6f73d48d97a6c93032107775f4593b (diff) | |
| download | linux-9a4619ef6cc1182ba02d9d465903d47a12bdc55a.tar.gz linux-9a4619ef6cc1182ba02d9d465903d47a12bdc55a.zip | |
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 <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
