mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
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:
parent
f7134e4514
commit
5f09f37a7d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user