]> 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)
commite060ac9705fbc5fdf731b135ced69cc025f53814
treec0af3df74ce9dad684b352771a58bedbcc3bca4d
parentd6470a2578f50ee4535559d7d3a7e7cd5f73d1a5
ASoC: rt5514: Revert Hotword Model control

This reverts commit 45d51813fdec ("ASoC: rt5514: Guard Hotword Model bytes
loading") and commit 2c66eb5c6f7a ("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