diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-02-22 12:45:07 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 21:11:03 +0300 |
commit | cca80b973244cf7cf721b05b33178ba4826dbc5e (patch) | |
tree | f16bab60afa956efb19a1437e50c5700ff529a49 /drivers/media/video/videobuf-vmalloc.c | |
parent | 071193ff4182c8f785e770c54e35f3ea2bb98b84 (diff) | |
download | linux-cca80b973244cf7cf721b05b33178ba4826dbc5e.tar.xz |
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 <clemens@ladisch.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/videobuf-vmalloc.c')
0 files changed, 0 insertions, 0 deletions