media: cadence: csi2rx: Cleanup media entity properly
Call media_entity_cleanup() in probe error path and remove to make sure the media entity is cleaned up properly. Suggested-by:Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Pratyush Yadav <p.yadav@ti.com> Signed-off-by:
Vaishnav Achath <vaishnav.a@ti.com> Reviewed-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Please register or sign in to comment