mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 15:09:34 -05:00
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 228e8d17b9f5d22cf9896ab8eff88dc6737c2ced Mon Sep 17 00:00:00 2001
|
|
From: Shalini Krishnamoorthi <shakri@codeaurora.org>
|
|
Date: Thu, 12 May 2016 12:13:23 -0700
|
|
Subject: msm: mdss: Fix NULL pointer dereference
|
|
|
|
A wrong pointer was freed and dereferenced
|
|
leading to fatal exception. Fixed this by
|
|
correcting the pointer variable.
|
|
|
|
Change-Id: Ic3d55d88c61ab215139de7fe0c53b8bb89bf85f8
|
|
Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
|
|
---
|
|
drivers/video/msm/mdss/mdss_dsi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/video/msm/mdss/mdss_dsi.c b/drivers/video/msm/mdss/mdss_dsi.c
|
|
index 4df7e98..403444f 100644
|
|
--- a/drivers/video/msm/mdss/mdss_dsi.c
|
|
+++ b/drivers/video/msm/mdss/mdss_dsi.c
|
|
@@ -2802,7 +2802,7 @@ static int mdss_dsi_ctrl_clock_init(struct platform_device *ctrl_pdev,
|
|
error_clk_client_deregister:
|
|
mdss_dsi_clk_deregister(ctrl_pdata->dsi_clk_handle);
|
|
error_clk_deinit:
|
|
- mdss_dsi_clk_deinit(ctrl_pdata);
|
|
+ mdss_dsi_clk_deinit(ctrl_pdata->clk_mngr);
|
|
error_link_clk_deinit:
|
|
mdss_dsi_link_clk_deinit(&ctrl_pdev->dev, ctrl_pdata);
|
|
return rc;
|
|
--
|
|
cgit v1.1
|
|
|