83f1b7f39a
In MT8195 SOF design, both DSP and audio driver would access audio registers. Before DSP accesses audio registers, audio power and clock should be enabled. DSP will hang up if DSP access audio register but audio power and clock are disabled. Therefore, we add audio pm runtime active checking before accessing audio registers in SOF BE's callback hw_params function to avoid this situation. Signed-off-by: YC Hung <yc.hung@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Curtis Malainey <cujomalainey@chromium.org> Link: https://lore.kernel.org/r/20221209031053.8444-1-yc.hung@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
mt8195-afe-clk.c | ||
mt8195-afe-clk.h | ||
mt8195-afe-common.h | ||
mt8195-afe-pcm.c | ||
mt8195-audsys-clk.c | ||
mt8195-audsys-clk.h | ||
mt8195-audsys-clkid.h | ||
mt8195-dai-adda.c | ||
mt8195-dai-etdm.c | ||
mt8195-dai-pcm.c | ||
mt8195-mt6359.c | ||
mt8195-reg.h |