Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cca80b97 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Mauro Carvalho Chehab
Browse files

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: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 071193ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment