[linuxtv-commits] [hg:v4l-dvb] cx88-alsa: prevent out-of-range volume setting

2010-03-02 Thread Patch from Clemens Ladisch
The patch number 14336 was added via Douglas Schilling Landgraf to http://linuxtv.org/hg/v4l-dvb master development tree. Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the ma

[linuxtv-commits] [git:v4l-dvb/master] V4L/DVB: cx88-alsa: prevent out-of-range volume setting

2010-02-22 Thread Patch from Clemens Ladisch
From: Clemens Ladisch Ensure that volume values are always in the allowed range. Otherwise, it would be possible to set other bits in the AUD_VOL_CTL register or to get a wrong sign in the AUD_BAL_CTL register. Signed-off-by: Clemens Ladisch Signed-off-by: Mauro Carvalho Chehab drivers/medi