summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5514.h
diff options
context:
space:
mode:
authorHsin-Yu Chao <hychao@chromium.org>2017-09-15 06:32:00 +0200
committerMark Brown <broonie@kernel.org>2017-09-15 18:39:01 +0200
commit37128514d708457fc060a2309aaa78b057a00043 (patch)
treec0af3df74ce9dad684b352771a58bedbcc3bca4d /sound/soc/codecs/rt5514.h
parentASoC: rt5514-spi: check irq status to schedule data copy (diff)
downloadlinux-37128514d708457fc060a2309aaa78b057a00043.tar.xz
linux-37128514d708457fc060a2309aaa78b057a00043.zip
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.h3
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__ */