diff options
author | Mark Brown <broonie@kernel.org> | 2022-04-23 14:12:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-18 10:23:45 +0200 |
commit | 03ebc6fd5c9ddbd5b8c3a3c2b704f506b5277c85 (patch) | |
tree | 906f75dd520f323f9a6e18a347bae7fd44b1eeb9 /lib | |
parent | 31606a73baa35acdae6ab95ff5d3928e2d8b4cb0 (diff) |
ASoC: ops: Validate input values in snd_soc_put_volsw_range()
[ Upstream commit aa22125c57f9e577f0a667e4fa07fc3fa8ca1e60 ]
Check that values written via snd_soc_put_volsw_range() are
within the range advertised by the control, ensuring that we
don't write out of spec values to the hardware.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220423131239.3375261-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions