From: Clemens Ladisch Date: Mon, 22 Feb 2010 09:45:07 +0000 (-0300) Subject: V4L/DVB: cx88-alsa: prevent out-of-range volume setting X-Git-Tag: v2.6.34-rc1~280^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca80b973244cf7cf721b05b33178ba4826dbc5e;p=pandora-kernel.git V4L/DVB: cx88-alsa: prevent out-of-range volume setting 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 --- Reading git-diff-tree failed