Commit 28bfb418 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Mauro Carvalho Chehab
Browse files

media: sun6i-csi: Rename the capture video device to sun6i-csi-capture



Now that the driver is properly split between bridge and capture,
rename the video device to highlight its role and be in line with
the bridge entity naming.

Signed-off-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent c55d9813
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1023,7 +1023,8 @@ int sun6i_csi_capture_setup(struct sun6i_csi_device *csi_dev)

	/* Video Device */

	strscpy(video_dev->name, SUN6I_CSI_NAME, sizeof(video_dev->name));
	strscpy(video_dev->name, SUN6I_CSI_CAPTURE_NAME,
		sizeof(video_dev->name));
	video_dev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING;
	video_dev->vfl_dir = VFL_DIR_RX;
	video_dev->release = video_device_release_empty;
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@
#include <media/v4l2-dev.h>
#include <media/videobuf2-core.h>

#define SUN6I_CSI_CAPTURE_NAME	"sun6i-csi-capture"

#define SUN6I_CSI_CAPTURE_WIDTH_MIN	32
#define SUN6I_CSI_CAPTURE_WIDTH_MAX	4800
#define SUN6I_CSI_CAPTURE_HEIGHT_MIN	32