Searched hist:"83 f1b7f39af73b01edf098fe3141404670703281" (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/mediatek/mt8195/ |
H A D | mt8195-mt6359.c | diff 83f1b7f39af73b01edf098fe3141404670703281 Fri Dec 09 04:10:53 CET 2022 YC Hung <yc.hung@mediatek.com> ASoC: mediatek: mt8195: add sof be ops to check audio active
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>
|