diff options
author | Mark Brown <broonie@kernel.org> | 2023-02-26 12:47:57 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-28 13:58:41 +0000 |
commit | 8e847a43c28fca0aaa11fba8f91da7dfd9d6936f (patch) | |
tree | b78fe87482a5899a58f6c74bef91d4d487125759 /sound/drivers | |
parent | 3425ddaea57af77ca96a59a5b8eaa2f9e1b021ba (diff) |
ASoC: mt6358: Validate Wake on Voice 2 writes
Currently the Wake on Voice 2 control accepts and stores any value written
but it reports that only 0 and 1 are valid values. Reject any out of range
values written by userspace.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230224-asoc-mt6358-quick-fixes-v1-2-747d9186be4b@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions