diff options
author | Peter Chen <[email protected]> | 2016-07-05 10:04:48 +0800 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-07-12 15:45:49 +0200 |
commit | 6d5fa28c13b9db69f4b7b8bd0cef49664f93d5a5 (patch) | |
tree | b7d501715d1ee32940e1e00fd38214e15a7e4687 | |
parent | e8ef1b69a232c4711bc08fa4f6a1619b10f6e025 (diff) |
gpu: drm: rockchip_drm_drv: add missing of_node_put after calling of_parse_phandle
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.
Cc: Mark Yao <[email protected]>
Cc: Heiko Stuebner <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index d665fb04d264..f0bd1ee8b128 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -433,6 +433,7 @@ static int rockchip_drm_platform_probe(struct platform_device *pdev) is_support_iommu = false; } + of_node_put(iommu); component_match_add(dev, &match, compare_of, port->parent); of_node_put(port); } |