Commit 0db9ac4b authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

buf size print

parent 44c8a64e
...@@ -371,6 +371,7 @@ static int imx7_csi_dma_setup(struct imx7_csi *csi) ...@@ -371,6 +371,7 @@ static int imx7_csi_dma_setup(struct imx7_csi *csi)
struct imx_media_video_dev *vdev = csi->vdev; struct imx_media_video_dev *vdev = csi->vdev;
int ret; int ret;
v4l2_warn(&csi->sd, "buffer aloc size %d", vdev->fmt.sizeimage);
ret = imx_media_alloc_dma_buf(csi->dev, &csi->underrun_buf, ret = imx_media_alloc_dma_buf(csi->dev, &csi->underrun_buf,
vdev->fmt.sizeimage); vdev->fmt.sizeimage);
if (ret < 0) { if (ret < 0) {
......
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