diff options
| author | Yousef Alhouseen <alhouseenyousef@gmail.com> | 2026-06-30 12:50:15 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-27 14:22:07 +0200 |
| commit | 59dc14a6cb5ff1ae5ce2f6ebf51fe0139e1c0623 (patch) | |
| tree | 3a5a2a3e7fbe578e00a5a3a58fe7237ae555bb4a /tools/perf/scripts/python/bin | |
| parent | e260d1d7713b92f7156f5de7716c68438f49ae37 (diff) | |
media: go7007: s2250: propagate control I/O failures
The brightness and contrast paths use oldvalue after read_reg_fp()
without checking whether the read succeeded. A failed read leaves
oldvalue uninitialized and can write arbitrary reserved register bits.
Return read and write errors from every control path so failed hardware
access cannot be reported as a successful control update.
Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
