diff options
author | Hsin-Yu Chao <hychao@chromium.org> | 2017-09-15 07:32:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-15 19:39:01 +0300 |
commit | 37128514d708457fc060a2309aaa78b057a00043 (patch) | |
tree | c0af3df74ce9dad684b352771a58bedbcc3bca4d /sound/soc/codecs/rt5514.h | |
parent | 659178f5d1bb5164480c35e5a749c4fe1dde5867 (diff) | |
download | linux-37128514d708457fc060a2309aaa78b057a00043.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/rt5514.h')
-rw-r--r-- | sound/soc/codecs/rt5514.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/rt5514.h b/sound/soc/codecs/rt5514.h index 803311cb7e2a..2dc40e6d8b3f 100644 --- a/sound/soc/codecs/rt5514.h +++ b/sound/soc/codecs/rt5514.h @@ -255,7 +255,6 @@ #define RT5514_FIRMWARE1 "rt5514_dsp_fw1.bin" #define RT5514_FIRMWARE2 "rt5514_dsp_fw2.bin" -#define RT5514_FIRMWARE3 "rt5514_dsp_fw3.bin" /* System Clock Source */ enum { @@ -282,8 +281,6 @@ struct rt5514_priv { int pll_in; int pll_out; int dsp_enabled; - u8 *model_buf; - unsigned int model_len; }; #endif /* __RT5514_H__ */ |