There's no need to set the buffer stride to 0 when disabling the CSI. Remove the extraneous register write. Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Reviewed-by: Rui Miguel Silva <rmfrfs@xxxxxxxxx> --- drivers/staging/media/imx/imx7-media-csi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c index b4bd161bec40..ac6763f8810d 100644 --- a/drivers/staging/media/imx/imx7-media-csi.c +++ b/drivers/staging/media/imx/imx7-media-csi.c @@ -616,8 +616,6 @@ static void imx7_csi_disable(struct imx7_csi *csi) imx7_csi_hw_disable_irq(csi); - imx7_csi_buf_stride_set(csi, 0); - imx7_csi_hw_disable(csi); } -- Regards, Laurent Pinchart