commit | 6d5fa28c13b9db69f4b7b8bd0cef49664f93d5a5 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@nxp.com> | Tue Jul 05 10:04:48 2016 +0800 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Jul 12 15:45:49 2016 +0200 |
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 <mark.yao@rock-chips.com> Cc: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1467684294-20111-2-git-send-email-peter.chen@nxp.com
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index d665fb0..f0bd1ee 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
@@ -433,6 +433,7 @@ is_support_iommu = false; } + of_node_put(iommu); component_match_add(dev, &match, compare_of, port->parent); of_node_put(port); }