media: zoran: move to staging in preparation for removal
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 11 May 2018 16:43:57 +0000 (12:43 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 25 May 2018 19:21:36 +0000 (15:21 -0400)
This driver hasn't been tested in a long, long time. The hardware is
ancient and pretty much obsolete. This driver also needs to be converted
to newer media frameworks (vb2!) but due to the lack of time and interest
that is unlikely to happen.

So this driver is a prime candidate for removal. If someone is interested
in working on this driver to prevent its removal, then please contact the
linux-media mailinglist.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
25 files changed:
MAINTAINERS
drivers/media/pci/Kconfig
drivers/media/pci/Makefile
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/zoran/Kconfig [moved from drivers/media/pci/zoran/Kconfig with 97% similarity]
drivers/staging/media/zoran/Makefile [moved from drivers/media/pci/zoran/Makefile with 100% similarity]
drivers/staging/media/zoran/TODO [new file with mode: 0644]
drivers/staging/media/zoran/videocodec.c [moved from drivers/media/pci/zoran/videocodec.c with 100% similarity]
drivers/staging/media/zoran/videocodec.h [moved from drivers/media/pci/zoran/videocodec.h with 100% similarity]
drivers/staging/media/zoran/zoran.h [moved from drivers/media/pci/zoran/zoran.h with 100% similarity]
drivers/staging/media/zoran/zoran_card.c [moved from drivers/media/pci/zoran/zoran_card.c with 100% similarity]
drivers/staging/media/zoran/zoran_card.h [moved from drivers/media/pci/zoran/zoran_card.h with 100% similarity]
drivers/staging/media/zoran/zoran_device.c [moved from drivers/media/pci/zoran/zoran_device.c with 100% similarity]
drivers/staging/media/zoran/zoran_device.h [moved from drivers/media/pci/zoran/zoran_device.h with 100% similarity]
drivers/staging/media/zoran/zoran_driver.c [moved from drivers/media/pci/zoran/zoran_driver.c with 100% similarity]
drivers/staging/media/zoran/zoran_procfs.c [moved from drivers/media/pci/zoran/zoran_procfs.c with 100% similarity]
drivers/staging/media/zoran/zoran_procfs.h [moved from drivers/media/pci/zoran/zoran_procfs.h with 100% similarity]
drivers/staging/media/zoran/zr36016.c [moved from drivers/media/pci/zoran/zr36016.c with 100% similarity]
drivers/staging/media/zoran/zr36016.h [moved from drivers/media/pci/zoran/zr36016.h with 100% similarity]
drivers/staging/media/zoran/zr36050.c [moved from drivers/media/pci/zoran/zr36050.c with 100% similarity]
drivers/staging/media/zoran/zr36050.h [moved from drivers/media/pci/zoran/zr36050.h with 100% similarity]
drivers/staging/media/zoran/zr36057.h [moved from drivers/media/pci/zoran/zr36057.h with 100% similarity]
drivers/staging/media/zoran/zr36060.c [moved from drivers/media/pci/zoran/zr36060.c with 100% similarity]
drivers/staging/media/zoran/zr36060.h [moved from drivers/media/pci/zoran/zr36060.h with 100% similarity]

index 519f172..cbcd5ab 100644 (file)
@@ -15609,7 +15609,7 @@ L:      linux-media@vger.kernel.org
 W:     http://mjpeg.sourceforge.net/driver-zoran/
 T:     hg https://linuxtv.org/hg/v4l-dvb
 S:     Odd Fixes
 W:     http://mjpeg.sourceforge.net/driver-zoran/
 T:     hg https://linuxtv.org/hg/v4l-dvb
 S:     Odd Fixes
-F:     drivers/media/pci/zoran/
+F:     drivers/staging/media/zoran/
 
 ZRAM COMPRESSED RAM BLOCK DEVICE DRVIER
 M:     Minchan Kim <minchan@kernel.org>
 
 ZRAM COMPRESSED RAM BLOCK DEVICE DRVIER
 M:     Minchan Kim <minchan@kernel.org>
index 5932e22..1f09123 100644 (file)
@@ -16,7 +16,6 @@ source "drivers/media/pci/sta2x11/Kconfig"
 source "drivers/media/pci/tw5864/Kconfig"
 source "drivers/media/pci/tw68/Kconfig"
 source "drivers/media/pci/tw686x/Kconfig"
 source "drivers/media/pci/tw5864/Kconfig"
 source "drivers/media/pci/tw68/Kconfig"
 source "drivers/media/pci/tw686x/Kconfig"
-source "drivers/media/pci/zoran/Kconfig"
 endif
 
 if MEDIA_ANALOG_TV_SUPPORT
 endif
 
 if MEDIA_ANALOG_TV_SUPPORT
index 1c5ab07..984fa24 100644 (file)
@@ -18,7 +18,6 @@ obj-y        +=       ttpci/          \
                intel/
 
 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
                intel/
 
 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
-obj-$(CONFIG_VIDEO_ZORAN) += zoran/
 obj-$(CONFIG_VIDEO_CX18) += cx18/
 obj-$(CONFIG_VIDEO_CX23885) += cx23885/
 obj-$(CONFIG_VIDEO_CX25821) += cx25821/
 obj-$(CONFIG_VIDEO_CX18) += cx18/
 obj-$(CONFIG_VIDEO_CX23885) += cx23885/
 obj-$(CONFIG_VIDEO_CX25821) += cx25821/
index 494f369..db5cf67 100644 (file)
@@ -33,4 +33,6 @@ source "drivers/staging/media/omap4iss/Kconfig"
 
 source "drivers/staging/media/tegra-vde/Kconfig"
 
 
 source "drivers/staging/media/tegra-vde/Kconfig"
 
+source "drivers/staging/media/zoran/Kconfig"
+
 endif
 endif
index 59c184c..503fbe4 100644 (file)
@@ -6,3 +6,4 @@ obj-$(CONFIG_SOC_CAMERA_MT9T031)        += mt9t031/
 obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/
 obj-$(CONFIG_VIDEO_OMAP4)      += omap4iss/
 obj-$(CONFIG_TEGRA_VDE)                += tegra-vde/
 obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/
 obj-$(CONFIG_VIDEO_OMAP4)      += omap4iss/
 obj-$(CONFIG_TEGRA_VDE)                += tegra-vde/
+obj-$(CONFIG_VIDEO_ZORAN)      += zoran/
similarity index 97%
rename from drivers/media/pci/zoran/Kconfig
rename to drivers/staging/media/zoran/Kconfig
index 39ec35b..63df5de 100644 (file)
@@ -1,5 +1,5 @@
 config VIDEO_ZORAN
 config VIDEO_ZORAN
-       tristate "Zoran ZR36057/36067 Video For Linux"
+       tristate "Zoran ZR36057/36067 Video For Linux (Deprecated)"
        depends on PCI && I2C_ALGOBIT && VIDEO_V4L2 && VIRT_TO_BUS
        depends on !ALPHA
        help
        depends on PCI && I2C_ALGOBIT && VIDEO_V4L2 && VIRT_TO_BUS
        depends on !ALPHA
        help
diff --git a/drivers/staging/media/zoran/TODO b/drivers/staging/media/zoran/TODO
new file mode 100644 (file)
index 0000000..5446409
--- /dev/null
@@ -0,0 +1,4 @@
+The zoran driver is marked deprecated. It will be removed
+around May 2019 unless someone is willing to update this
+driver to the latest V4L2 frameworks (especially the vb2
+framework).