Skip to content

Commit

Permalink
drm/komeda: Add missing of_node_get() call
Browse files Browse the repository at this point in the history
komeda_pipeline_destroy has the matching of_node_put().

Fixes: 29e56ae ("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
  • Loading branch information
Mihail Atanassov authored and Ayan kumar halder committed Aug 23, 2019
1 parent 95abcd3 commit 51a44a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/arm/display/komeda/komeda_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 51a44a2

Please sign in to comment.