diff options
author | Mihail Atanassov <Mihail.Atanassov@arm.com> | 2019-08-20 15:16:58 +0000 |
---|---|---|
committer | Ayan kumar halder <ayan.halder@arm.com> | 2019-08-23 14:53:32 +0100 |
commit | 51a44a28eefd0d4c1addeb23fc5a599ff1787dfd (patch) | |
tree | 35e645bb2d80958dfb185c2b7040f7c9022b6349 /drivers/gpu/drm/arm | |
parent | 95abcd33ad513faf9cf3f54a28fb4982407e5a92 (diff) | |
download | linux-51a44a28eefd0d4c1addeb23fc5a599ff1787dfd.tar.bz2 |
drm/komeda: Add missing of_node_get() call
komeda_pipeline_destroy has the matching of_node_put().
Fixes: 29e56aec911dd ("drm/komeda: Add DT parsing")
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Reviewed-by: Ayan Kumar Halder <ayan.halder@arm.com>
[Rebased on the latest drm-misc-fixes]
Signed-off-by: Ayan Kumar Halder <ayan.halder@arm.com>
Link: https://patchwork.freedesktop.org/patch/325278/
Change-Id: I5fa2479d6cb3a77182f1a92833c1c0bca8668cb4
Diffstat (limited to 'drivers/gpu/drm/arm')
-rw-r--r-- | drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c index a0eabc134dd6..9d4d5075cc64 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c @@ -127,7 +127,7 @@ static int komeda_parse_pipe_dt(struct komeda_dev *mdev, struct device_node *np) pipe->of_output_port = of_graph_get_port_by_id(np, KOMEDA_OF_PORT_OUTPUT); - pipe->of_node = np; + pipe->of_node = of_node_get(np); return 0; } |