aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2019-10-03 15:32:08 +0300
committerRafael J. Wysocki <[email protected]>2019-10-11 11:26:55 +0200
commit51c100a651a471fcb8ead1ecc1224471eb0d61b9 (patch)
treec693be830e5cf2a06edbbab8a9b702fde67f2571 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff)
software node: Get reference to parent swnode in get_parent op
The software_node_get_parent() returned a pointer to the parent swnode, but did not take a reference to it, leading the caller to put a reference that was not taken. Take that reference now. Fixes: 59abd83672f7 ("drivers: base: Introducing software nodes to the firmware node framework") Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions