mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
committed by
gerrit autosubmit
parent
8a6bdba56f
commit
c8d013e54a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user