summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821/cx25821.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-12-12 10:28:00 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-23 10:22:00 -0200
commitb6f21dc3541a3660acfec1e789a011e6d4154173 (patch)
tree9c2c1721d8dcd8e2efac78536d4fdf284e1e159c /drivers/media/pci/cx25821/cx25821.h
parent11c8a2df2cf8c213e1970d548aee067887971ef8 (diff)
downloadop-kernel-dev-b6f21dc3541a3660acfec1e789a011e6d4154173.zip
op-kernel-dev-b6f21dc3541a3660acfec1e789a011e6d4154173.tar.gz
[media] cx25821: remove video output support
The video output functionality never worked for this driver. Now remove the creation of the output video nodes as well to prevent users from thinking that video output is available, when it isn't. To correctly implement this the video output should use vb2 as well, and that requires rewriting the output DMA setup. But without hardware to test I am not able to do that. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821.h')
-rw-r--r--drivers/media/pci/cx25821/cx25821.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/pci/cx25821/cx25821.h b/drivers/media/pci/cx25821/cx25821.h
index 34c5ff1..d81a08a 100644
--- a/drivers/media/pci/cx25821/cx25821.h
+++ b/drivers/media/pci/cx25821/cx25821.h
@@ -88,6 +88,13 @@
#define CX25821_BOARD_CONEXANT_ATHENA10 1
#define MAX_VID_CHANNEL_NUM 12
+
+/*
+ * Maximum capture-only channels. This can go away once video/audio output
+ * is fully supported in this driver.
+ */
+#define MAX_VID_CAP_CHANNEL_NUM 10
+
#define VID_CHANNEL_NUM 8
struct cx25821_fmt {
OpenPOWER on IntegriCloud