Commit be1158f0 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

media: imx: imx7-media-csi: Rename imx7_csi_dma_start() to *_setup()

The imx7_csi_dma_start() doesn't start DMA. Rename it to
imx7_csi_dma_setup() to avoid confusion.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarRui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 3c1dbc71
...@@ -441,7 +441,7 @@ static void imx7_csi_dma_unsetup_vb2_buf(struct imx7_csi *csi, ...@@ -441,7 +441,7 @@ static void imx7_csi_dma_unsetup_vb2_buf(struct imx7_csi *csi,
} }
} }
static int imx7_csi_dma_start(struct imx7_csi *csi) 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;
...@@ -614,7 +614,7 @@ static int imx7_csi_streaming_start(struct imx7_csi *csi) ...@@ -614,7 +614,7 @@ static int imx7_csi_streaming_start(struct imx7_csi *csi)
{ {
int ret; int ret;
ret = imx7_csi_dma_start(csi); ret = imx7_csi_dma_setup(csi);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
Markdown is supported
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