mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
b3168c87c0
Because the brightness and contrast controls share a register,
usbtv_s_ctrl needs to read the existing values for both controls before
inserting the new value. However, the code accidentally wrote to the
registers (from an uninitialised stack array), rather than reading them.
The user-visible effect of this was that adjusting the brightness would
also set the contrast to a random value, and vice versa -- so it wasn't
possible to correctly adjust the brightness of usbtv's video output.
Tested with an "EasyDAY" UTV007 device.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
usbtv-audio.c | ||
usbtv-core.c | ||
usbtv-video.c | ||
usbtv.h |