gpu: ipu-v3: pre: fix device node leak in ipu_pre_lookup_by_phandle
[ Upstream commit c795f305 ] Before returning, call of_node_put() for the device node returned by of_parse_phandle(). Fixes: d2a34232 ("gpu: ipu-v3: add driver for Prefetch Resolve Engine") Signed-off-by: Tobias Jordan <Tobias.Jordan@elektrobit.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment