Commit c76a81e0 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

print csi params

parent 0db9ac4b
......@@ -422,7 +422,7 @@ static void imx7_csi_configure(struct imx7_csi *csi)
{
struct imx_media_video_dev *vdev = csi->vdev;
struct v4l2_pix_format *out_pix = &vdev->fmt;
int width = out_pix->width;
u32 width = out_pix->width;
u32 stride = 0;
u32 cr3 = BIT_FRMCNT_RST;
u32 cr1, cr18;
......@@ -511,6 +511,7 @@ static void imx7_csi_configure(struct imx7_csi *csi)
BIT_IMAGE_HEIGHT(out_pix->height),
CSI_CSIIMAG_PARA);
imx7_csi_reg_write(csi, stride, CSI_CSIFBUF_PARA);
v4l2_warn(&csi->sd, "Setting wxh stride %dx%d %d", width, out_pix->height, stride);
}
static int imx7_csi_init(struct imx7_csi *csi)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment