diff options
author | YC Hung <[email protected]> | 2022-12-09 11:10:53 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-12-12 15:44:23 +0000 |
commit | 83f1b7f39af73b01edf098fe3141404670703281 (patch) | |
tree | b2d04c5e88504022f814ff7eacf2602d46527f49 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e85b1f5a9769ac30f4d2f6fb1cdcd9570c38e0c1 (diff) |
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 <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Acked-by: Curtis Malainey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions