diff --git a/sound/soc/amlogic/auge/spdif.c b/sound/soc/amlogic/auge/spdif.c index d503acf3d..4fe686383 100644 --- a/sound/soc/amlogic/auge/spdif.c +++ b/sound/soc/amlogic/auge/spdif.c @@ -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);