media: imx-mipi-csis: Remove an incorrect fwnode_handle_put() call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 30 Aug 2023 21:06:14 +0000 (23:06 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 19 Sep 2023 07:03:21 +0000 (09:03 +0200)
commit263cb0cc5abac7c22a6c0dfa7e50e89d8e6c6900
treeb743fad84d19a72569946f22a1150281f6702dc2
parent735de5caf79e06cc9fb96b1b4f4974674ae3e917
media: imx-mipi-csis: Remove an incorrect fwnode_handle_put() call

The commit in Fixes has removed an fwnode_graph_get_endpoint_by_id() call
in mipi_csis_subdev_init().
So the reference that was taken should not be released anymore in the
error handling path of the probe and in the remove function.

Remove the now incorrect fwnode_handle_put() calls.

Fixes: 1029939b3782 ("media: v4l: async: Simplify async sub-device fwnode matching")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/nxp/imx-mipi-csis.c