diff options
| author | AnilKumar Chimata <anilc@codeaurora.org> | 2016-11-03 19:40:03 +0530 |
|---|---|---|
| committer | AnilKumar Chimata <anilc@codeaurora.org> | 2017-01-05 15:27:00 +0530 |
| commit | ecbe2e6f805ecfac258f32ca03b23e7b0ada1709 (patch) | |
| tree | ce5a4c5c6f7112943be177bce6ad1abc4e74646e | |
| parent | b1cb986a8f88b9c5730dfd0f7ec04776d84664ea (diff) | |
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>
| -rw-r--r-- | drivers/misc/qseecom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/qseecom.c b/drivers/misc/qseecom.c index 6b3d84a2c145..20949487f859 100644 --- a/drivers/misc/qseecom.c +++ b/drivers/misc/qseecom.c @@ -7660,11 +7660,11 @@ static void __qseecom_deinit_clk(enum qseecom_ce_hw_instance ce) } if (qclk->ce_core_clk != NULL) { clk_put(qclk->ce_core_clk); - qclk->ce_clk = NULL; + qclk->ce_core_clk = NULL; } if (qclk->ce_bus_clk != NULL) { clk_put(qclk->ce_bus_clk); - qclk->ce_clk = NULL; + qclk->ce_bus_clk = NULL; } if (qclk->ce_core_src_clk != NULL) { clk_put(qclk->ce_core_src_clk); |
