projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd3683
)
gpu: drm: sun4i_drv: add missing of_node_put after calling of_parse_phandle
author
Peter Chen
<peter.chen@nxp.com>
Tue, 5 Jul 2016 02:04:53 +0000
(10:04 +0800)
committer
Maxime Ripard
<maxime.ripard@free-electrons.com>
Tue, 5 Jul 2016 07:20:29 +0000
(09:20 +0200)
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/sun4i/sun4i_drv.c
b/drivers/gpu/drm/sun4i/sun4i_drv.c
index
cbe4a25
..
937394c
100644
(file)
--- a/
drivers/gpu/drm/sun4i/sun4i_drv.c
+++ b/
drivers/gpu/drm/sun4i/sun4i_drv.c
@@
-310,6
+310,7
@@
static int sun4i_drv_probe(struct platform_device *pdev)
count += sun4i_drv_add_endpoints(&pdev->dev, &match,
pipeline);
+ of_node_put(pipeline);
DRM_DEBUG_DRIVER("Queued %d outputs on pipeline %d\n",
count, i);