diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2025-04-22 11:07:39 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-04-25 15:14:37 +0200 |
| commit | 398a1b33f1479af35ca915c5efc9b00d6204f8fa (patch) | |
| tree | cc22990b126567311690cfdf5fcb3cffa4a6c248 /tools/perf/scripts/python | |
| parent | bd9f6ce7d512fa21249415c16af801a4ed5d97b6 (diff) | |
media: gspca: Add error handling for stv06xx_read_sensor()
In hdcs_init(), the return value of stv06xx_read_sensor() needs to be
checked. A proper implementation can be found in vv6410_dump(). Add a
check in loop condition and propergate error code to fix this issue.
Fixes: 4c98834addfe ("V4L/DVB (10048): gspca - stv06xx: New subdriver.")
Cc: stable@vger.kernel.org # v2.6+
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
