audio: hifi1_pll already unprepared appears pressure test autosuspend [1/1]

PD#SWPL-156792

Problem:
hifipll already disable when disable spdif clk, there are some warning

Solution:
need depend on hifipll enable when disable spdif clk

Verify:
t3x

Change-Id: I6b9c53135fe1715c9606a82c2627659f3347a198
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
This commit is contained in:
jiebing chen
2024-03-04 15:42:14 +08:00
committed by gerrit autosubmit
parent 8a6bdba56f
commit c8d013e54a
+1 -2
View File
@@ -522,8 +522,7 @@ static int aml_spdif_platform_suspend(struct platform_device *pdev, pm_message_t
if (p_spdif->chipinfo->regulator || (p_spdif->suspend_clk_off && !is_pm_s2idle_mode())) {
/* warning:parent clk already close */
if (__clk_is_enabled(clk_get_parent(p_spdif->clk_spdifout)) ||
__clk_is_enabled(p_spdif->clk_spdifout)) {
if (__clk_is_enabled(clk_get_parent(p_spdif->clk_spdifout))) {
if (!IS_ERR(p_spdif->clk_spdifout)) {
while (__clk_is_enabled(p_spdif->clk_spdifout))
clk_disable_unprepare(p_spdif->clk_spdifout);