mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
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> |
||
|---|---|---|
| .. | ||
| go7007-driver.c | ||
| go7007-fw.c | ||
| go7007-i2c.c | ||
| go7007-loader.c | ||
| go7007-priv.h | ||
| go7007-usb.c | ||
| go7007-v4l2.c | ||
| Kconfig | ||
| Makefile | ||
| s2250-board.c | ||
| snd-go7007.c | ||