summaryrefslogtreecommitdiff
path: root/drivers/media/video/videobuf-vmalloc.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-02-22 06:45:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:11:03 -0300
commitcca80b973244cf7cf721b05b33178ba4826dbc5e (patch)
treef16bab60afa956efb19a1437e50c5700ff529a49 /drivers/media/video/videobuf-vmalloc.c
parent071193ff4182c8f785e770c54e35f3ea2bb98b84 (diff)
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