]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5514: Guard Hotword Model bytes loading
authorHsin-Yu Chao <hychao@chromium.org>
Mon, 28 Aug 2017 07:13:50 +0000 (15:13 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 Aug 2017 18:45:35 +0000 (19:45 +0100)
commit45d51813fdec9c5e63388d4705b0386e00f8a1de
tree0c2c8e2437ccf8ad9ef5ff105209a362b852ce36
parent2c66eb5c6f7a8a02499da8280555048a58aeb5cf
ASoC: rt5514: Guard Hotword Model bytes loading

If the rt5514-spi driver is not enabled in kernel, hotword model will
not be loaded when "DSP Voice Wake Up" is set to turn on DSP mode, and
an error is logged instead.

Signed-off-by: Hsin-Yu Chao <hychao@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514.c