diff options
| author | 2021-02-15 05:27:11 +0100 | |
|---|---|---|
| committer | 2021-03-11 11:59:51 +0100 | |
| commit | 49a72bb614dc49754d57ca114c2a08e4fecdb148 (patch) | |
| tree | 883f691e0428b5c1255f8a6ba91eb81333d5f5b2 /include/uapi/linux | |
| parent | media: imx: imx7-media-csi: Don't set the buffer stride when disabling (diff) | |
media: imx: imx7-media-csi: Merge all config in imx7_csi_configure()
Merge all the configuration steps (imx7_csi_buf_stride_set(),
imx7_csi_deinterlace_enable(), imx7_csi_set_imagpara() and
imx7_csi_init_default()) in the imx7_csi_configure() function. This
simplifies the configuration procedure by removing most
read-update-write cycles, and makes the code generally more readable.
imx7_csi_init_default() is kept as it is also called from
imx7_csi_deinit(). This will be addressed separately.
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>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
