UCM config: Samus: Config audio path for hotwording
The configured hotword audio path is from "DMIC L1" to "DSP Buffer".
We used to configure the path by setting codec registers directly
in rt5677_set_vad_source(), bypassing DAPM. Since DAPM didn't know
the hotword path, it powers down the codec chip when there is
no playback/capture, even though hotword detector is running.
Powering down the codec chip while DSP is running may put the chip
into a bad state.
BUG=chrome-os-partner:37301
TEST=Put debug prints in rt5677_set_bias_level() and see the chip
is not powered down when there is only hotword stream.
Change-Id: I290e08ec1a9845c02390a91c55495ffe95cb5500
Signed-off-by: Ben Zhang <benzh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/255251
Reviewed-by: Dylan Reid <dgreid@chromium.org>
1 file changed