summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-05-11 14:41:36 +0100
committerMark Brown <broonie@kernel.org>2022-05-12 11:41:21 +0100
commit698813ba8c580efb356ace8dbf55f61dac6063a8 (patch)
tree53ec341920244209927d096bfc918ee949d529a4 /Kbuild
parentb776c4a4618ec1b5219d494c423dc142f23c4e8f (diff)
downloadlwn-698813ba8c580efb356ace8dbf55f61dac6063a8.tar.gz
lwn-698813ba8c580efb356ace8dbf55f61dac6063a8.zip
ASoC: ops: Fix bounds check for _sx controls
For _sx controls the semantics of the max field is not the usual one, max is the number of steps rather than the maximum value. This means that our check in snd_soc_put_volsw_sx() needs to just check against the maximum value. Fixes: 4f1e50d6a9cf9c1b ("ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()") Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220511134137.169575-1-broonie@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions