Commit 3ed913b6 authored by Tobias Jordan's avatar Tobias Jordan Committed by Greg Kroah-Hartman
Browse files

gpu: ipu-v3: prg: fix device node leak in ipu_prg_lookup_by_phandle



[ Upstream commit 3addaba8 ]

Before returning, call of_node_put() for the device node returned by
of_parse_phandle().

Fixes: ea9c2605 ("gpu: ipu-v3: add driver for Prefetch Resolve Gasket")
Signed-off-by: default avatarTobias Jordan <Tobias.Jordan@elektrobit.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ccb1d53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment