media: imx: imx7-media-csi: Don't set the buffer stride when disabling

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@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Laurent Pinchart 2021-02-15 05:27:10 +01:00 committed by Mauro Carvalho Chehab
parent f7134e4514
commit 5f09f37a7d

View File

@ -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);
}