diff mbox series

[50/75] media: imx: imx7-media-csi: Don't double-enable the CSI

Message ID 20210105152852.5733-51-laurent.pinchart@ideasonboard.com (mailing list archive)
State New
Headers show
Series media: imx: Miscellaneous fixes and cleanups for i.MX7 | expand

Commit Message

Laurent Pinchart Jan. 5, 2021, 3:28 p.m. UTC
The CSI is enabled at the end of imx7_csi_sw_reset(), called from
imx7_csi_enable(), as well as at the end of imx7_csi_enable(). The
latter is enough, remove the former.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 drivers/staging/media/imx/imx7-media-csi.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series


diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c
index 85ab733a2c4f..31d26d7c3cfb 100644
--- a/drivers/staging/media/imx/imx7-media-csi.c
+++ b/drivers/staging/media/imx/imx7-media-csi.c
@@ -331,8 +331,6 @@  static void imx7_csi_sw_reset(struct imx7_csi *csi)
 	usleep_range(2000, 3000);
-	imx7_csi_hw_enable(csi);
 static void imx7_csi_update_buf(struct imx7_csi *csi, dma_addr_t phys,