Skip to content
Unverified Commit 8e847a43 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230224-asoc-mt6358-quick-fixes-v1-2-747d9186be4b@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3425ddae
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