qseecom: Rename clock handle names
Rename clock handles as per de-initialization sequence, which is required to avoid the dangling pointers. Change-Id: I9e0715e2a47f318acc414605ce8e624c432d6665 Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
This commit is contained in:
parent
b1cb986a8f
commit
ecbe2e6f80
1 changed files with 2 additions and 2 deletions
|
@ -7660,11 +7660,11 @@ static void __qseecom_deinit_clk(enum qseecom_ce_hw_instance ce)
|
||||||
}
|
}
|
||||||
if (qclk->ce_core_clk != NULL) {
|
if (qclk->ce_core_clk != NULL) {
|
||||||
clk_put(qclk->ce_core_clk);
|
clk_put(qclk->ce_core_clk);
|
||||||
qclk->ce_clk = NULL;
|
qclk->ce_core_clk = NULL;
|
||||||
}
|
}
|
||||||
if (qclk->ce_bus_clk != NULL) {
|
if (qclk->ce_bus_clk != NULL) {
|
||||||
clk_put(qclk->ce_bus_clk);
|
clk_put(qclk->ce_bus_clk);
|
||||||
qclk->ce_clk = NULL;
|
qclk->ce_bus_clk = NULL;
|
||||||
}
|
}
|
||||||
if (qclk->ce_core_src_clk != NULL) {
|
if (qclk->ce_core_src_clk != NULL) {
|
||||||
clk_put(qclk->ce_core_src_clk);
|
clk_put(qclk->ce_core_src_clk);
|
||||||
|
|
Loading…
Add table
Reference in a new issue