mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From db9c60394765843f6a77833bc40c27fac8852e97 Mon Sep 17 00:00:00 2001
|
|
From: Balaji Prakash J <bjagadee@codeaurora.org>
|
|
Date: Mon, 20 Apr 2020 20:07:51 +0530
|
|
Subject: [PATCH] clk: ipq8074: defer from disabling gcc_sleep_clk_src
|
|
|
|
Added CLK_IS_CRITICAL flag in order to defer from
|
|
disabling the sleep clock source.
|
|
|
|
Once the usb sleep clocks are disabled, clock framework
|
|
is trying to disable the sleep clock source also and
|
|
the below warning is observed.
|
|
|
|
[ 28.235750] gcc_sleep_clk_src status stuck at 'on'
|
|
[ 28.235794] WARNING: CPU: 0 PID: 29 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x160/0x178
|
|
|
|
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
|
|
Change-Id: I61fab902375716272ad9c426ce71581058f7bd35
|
|
---
|
|
drivers/clk/qcom/gcc-ipq8074.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/clk/qcom/gcc-ipq8074.c
|
|
+++ b/drivers/clk/qcom/gcc-ipq8074.c
|
|
@@ -683,6 +683,7 @@ static struct clk_branch gcc_sleep_clk_s
|
|
},
|
|
.num_parents = 1,
|
|
.ops = &clk_branch2_ops,
|
|
+ .flags = CLK_IS_CRITICAL,
|
|
},
|
|
},
|
|
};
|