]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5514: Revert Hotword Model control
authorHsin-Yu Chao <hychao@chromium.org>
Fri, 15 Sep 2017 04:32:00 +0000 (12:32 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Sep 2017 16:39:01 +0000 (09:39 -0700)
commit15b75bb30fcefe77ceb83414b89a6040103b148f
treec0af3df74ce9dad684b352771a58bedbcc3bca4d
parent7d006b5006bd7435c81d81aba1cba014f6225dd2
ASoC: rt5514: Revert Hotword Model control

This reverts commit 253ddc8af9e9 ("ASoC: rt5514: Guard Hotword Model bytes
loading") and commit 4e82264be075 ("ASoC: rt5514: expose Hotword Model
control")

It is discouraged to use SND_SOC_BYTES_TLV to load arbitrary bytes from
userspace to driver. Removing the 'Hotword Model' control until we have
a good way to verify the content of hotword model blobs.

Signed-off-by: Hsin-Yu Chao <hychao@chromium.org>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514.c
sound/soc/codecs/rt5514.h