]> Git Repo - linux.git/commit
ASoC: mt6358: Validate Wake on Voice 2 writes
authorMark Brown <[email protected]>
Sun, 26 Feb 2023 12:47:57 +0000 (12:47 +0000)
committerMark Brown <[email protected]>
Tue, 28 Feb 2023 13:58:41 +0000 (13:58 +0000)
commit8e847a43c28fca0aaa11fba8f91da7dfd9d6936f
treeb78fe87482a5899a58f6c74bef91d4d487125759
parent3425ddaea57af77ca96a59a5b8eaa2f9e1b021ba
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/mt6358.c
This page took 0.071163 seconds and 4 git commands to generate.