801e3659bf
The calculation of the left volume looks suspect, the value of
0x1f - ((val << 8) & 0x1f) is always 0x1f. The debug prior to the
assignment of value[1] prints the left volume setting using the
calculation 0x1f - (val >> 8) & 0x1f which looks correct to me.
Fix the left volume by using the correct expression as used in
the debug.
Detected by CoverityScan, CID#146140 ("Wrong operator used")
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
em28xx-audio.c | ||
em28xx-camera.c | ||
em28xx-cards.c | ||
em28xx-core.c | ||
em28xx-dvb.c | ||
em28xx-i2c.c | ||
em28xx-input.c | ||
em28xx-reg.h | ||
em28xx-v4l.h | ||
em28xx-vbi.c | ||
em28xx-video.c | ||
em28xx.h |