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)
commit37128514d708457fc060a2309aaa78b057a00043
treec0af3df74ce9dad684b352771a58bedbcc3bca4d
parent659178f5d1bb5164480c35e5a749c4fe1dde5867
ASoC: rt5514: Revert Hotword Model control

This reverts commit eb33869c7206 ("ASoC: rt5514: Guard Hotword Model bytes
loading") and commit d18420b0a0b8 ("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