projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9897f79
)
gpu: drm: sti_vdo: add missing of_node_put after calling of_parse_phandle
author
Peter Chen
<peter.chen@nxp.com>
Tue, 5 Jul 2016 02:04:50 +0000
(10:04 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 13:43:56 +0000
(15:43 +0200)
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/1467684294-20111-4-git-send-email-peter.chen@nxp.com
drivers/gpu/drm/sti/sti_dvo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/sti/sti_dvo.c
b/drivers/gpu/drm/sti/sti_dvo.c
index ec3108074350dfbc434afeb51a7a5c02e4e931f6..00881eb4536e85f3cc196c0389f34cfff98716a6 100644
(file)
--- a/
drivers/gpu/drm/sti/sti_dvo.c
+++ b/
drivers/gpu/drm/sti/sti_dvo.c
@@
-580,6
+580,7
@@
static int sti_dvo_probe(struct platform_device *pdev)
dvo->panel_node = of_parse_phandle(np, "sti,panel", 0);
if (!dvo->panel_node)
DRM_ERROR("No panel associated to the dvo output\n");
+ of_node_put(dvo->panel_node);
platform_set_drvdata(pdev, dvo);