drm/bridge: anx7625: Add missing of_node_put for endpoint
Subsystems (3)
PATCH 1/1 drm/bridge: anx7625: Add missing of_node_put for endpoint
Add of_node_put call on the endpoint node after it is not needed.
Signed-off-by Marek Vasut <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc Lyude Paul <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Xin Ji <[email protected]>
--- drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/analogix/anx7625.c +1 -0
@@ -1638,6 +1638,7 @@ static int anx7625_parse_dt(struct device *dev, bus_type =0 ; mipi_lanes =of_property_count_u32_elems (ep0,"data-lanes" ); +of_node_put (ep0); }if (bus_type ==V4L2_FWNODE_BUS_TYPE_PARALLEL )/* bus type is Parallel(DSI) */
Signature · 1 line
2.35.1
Quoted 26 lines · Marek Vasut
Add
of_node_putcall on the endpoint node after it is not needed.Signed-off-by Marek Vasut <[email protected]>Cc Alex Deucher <[email protected]>Cc Javier Martinez Canillas <[email protected]>Cc Lyude Paul <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc Xin Ji <[email protected]>--- drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/bridge/analogix/anx7625.c +1
-1@@ -1638,6 +1638,7 @@ static int anx7625_parse_dt(struct device *dev, bus_type =0 ; mipi_lanes =of_property_count_u32_elems (ep0,"data-lanes" ); +of_node_put (ep0); }if (bus_type ==V4L2_FWNODE_BUS_TYPE_PARALLEL )/* bus type is Parallel(DSI) */ --
Quoted 2 lines
2.35.1
Reviewed-by Robert Foss <[email protected]>
Applied to drm-misc-next.