From: Hans Verkuil Date: Tue, 22 Jul 2014 04:13:07 +0000 (+0200) Subject: [media] solo6x10: move out of staging into drivers/media/pci. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=28cae868cd245b6bb2f27bce807e9d78afcf8ea2;p=linux-beck.git [media] solo6x10: move out of staging into drivers/media/pci. Now that the custom motion detection API has been replaced with a standard API there is no reason anymore to keep it in staging. So (finally!) move it to drivers/media/pci. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/Kconfig b/drivers/media/pci/Kconfig index 53196f1366f3..5c16c9c2203e 100644 --- a/drivers/media/pci/Kconfig +++ b/drivers/media/pci/Kconfig @@ -19,6 +19,7 @@ if MEDIA_ANALOG_TV_SUPPORT source "drivers/media/pci/ivtv/Kconfig" source "drivers/media/pci/zoran/Kconfig" source "drivers/media/pci/saa7146/Kconfig" +source "drivers/media/pci/solo6x10/Kconfig" endif if MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT diff --git a/drivers/media/pci/Makefile b/drivers/media/pci/Makefile index 35cc57862c01..e5b53fb569ef 100644 --- a/drivers/media/pci/Makefile +++ b/drivers/media/pci/Makefile @@ -24,3 +24,4 @@ obj-$(CONFIG_VIDEO_SAA7134) += saa7134/ obj-$(CONFIG_VIDEO_SAA7164) += saa7164/ obj-$(CONFIG_VIDEO_MEYE) += meye/ obj-$(CONFIG_STA2X11_VIP) += sta2x11/ +obj-$(CONFIG_VIDEO_SOLO6X10) += solo6x10/ diff --git a/drivers/staging/media/solo6x10/Kconfig b/drivers/media/pci/solo6x10/Kconfig similarity index 96% rename from drivers/staging/media/solo6x10/Kconfig rename to drivers/media/pci/solo6x10/Kconfig index 1ce2819efcb4..d9e06a6bf1eb 100644 --- a/drivers/staging/media/solo6x10/Kconfig +++ b/drivers/media/pci/solo6x10/Kconfig @@ -1,4 +1,4 @@ -config SOLO6X10 +config VIDEO_SOLO6X10 tristate "Bluecherry / Softlogic 6x10 capture cards (MPEG-4/H.264)" depends on PCI && VIDEO_DEV && SND && I2C select BITREVERSE diff --git a/drivers/staging/media/solo6x10/Makefile b/drivers/media/pci/solo6x10/Makefile similarity index 82% rename from drivers/staging/media/solo6x10/Makefile rename to drivers/media/pci/solo6x10/Makefile index 7aae118947b2..f4742266ef7c 100644 --- a/drivers/staging/media/solo6x10/Makefile +++ b/drivers/media/pci/solo6x10/Makefile @@ -2,4 +2,4 @@ solo6x10-y := solo6x10-core.o solo6x10-i2c.o solo6x10-p2m.o solo6x10-v4l2.o \ solo6x10-tw28.o solo6x10-gpio.o solo6x10-disp.o solo6x10-enc.o \ solo6x10-v4l2-enc.o solo6x10-g723.o solo6x10-eeprom.o -obj-$(CONFIG_SOLO6X10) += solo6x10.o +obj-$(CONFIG_VIDEO_SOLO6X10) += solo6x10.o diff --git a/drivers/staging/media/solo6x10/solo6x10-core.c b/drivers/media/pci/solo6x10/solo6x10-core.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-core.c rename to drivers/media/pci/solo6x10/solo6x10-core.c diff --git a/drivers/staging/media/solo6x10/solo6x10-disp.c b/drivers/media/pci/solo6x10/solo6x10-disp.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-disp.c rename to drivers/media/pci/solo6x10/solo6x10-disp.c diff --git a/drivers/staging/media/solo6x10/solo6x10-eeprom.c b/drivers/media/pci/solo6x10/solo6x10-eeprom.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-eeprom.c rename to drivers/media/pci/solo6x10/solo6x10-eeprom.c diff --git a/drivers/staging/media/solo6x10/solo6x10-enc.c b/drivers/media/pci/solo6x10/solo6x10-enc.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-enc.c rename to drivers/media/pci/solo6x10/solo6x10-enc.c diff --git a/drivers/staging/media/solo6x10/solo6x10-g723.c b/drivers/media/pci/solo6x10/solo6x10-g723.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-g723.c rename to drivers/media/pci/solo6x10/solo6x10-g723.c diff --git a/drivers/staging/media/solo6x10/solo6x10-gpio.c b/drivers/media/pci/solo6x10/solo6x10-gpio.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-gpio.c rename to drivers/media/pci/solo6x10/solo6x10-gpio.c diff --git a/drivers/staging/media/solo6x10/solo6x10-i2c.c b/drivers/media/pci/solo6x10/solo6x10-i2c.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-i2c.c rename to drivers/media/pci/solo6x10/solo6x10-i2c.c diff --git a/drivers/staging/media/solo6x10/solo6x10-jpeg.h b/drivers/media/pci/solo6x10/solo6x10-jpeg.h similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-jpeg.h rename to drivers/media/pci/solo6x10/solo6x10-jpeg.h diff --git a/drivers/staging/media/solo6x10/solo6x10-offsets.h b/drivers/media/pci/solo6x10/solo6x10-offsets.h similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-offsets.h rename to drivers/media/pci/solo6x10/solo6x10-offsets.h diff --git a/drivers/staging/media/solo6x10/solo6x10-p2m.c b/drivers/media/pci/solo6x10/solo6x10-p2m.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-p2m.c rename to drivers/media/pci/solo6x10/solo6x10-p2m.c diff --git a/drivers/staging/media/solo6x10/solo6x10-regs.h b/drivers/media/pci/solo6x10/solo6x10-regs.h similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-regs.h rename to drivers/media/pci/solo6x10/solo6x10-regs.h diff --git a/drivers/staging/media/solo6x10/solo6x10-tw28.c b/drivers/media/pci/solo6x10/solo6x10-tw28.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-tw28.c rename to drivers/media/pci/solo6x10/solo6x10-tw28.c diff --git a/drivers/staging/media/solo6x10/solo6x10-tw28.h b/drivers/media/pci/solo6x10/solo6x10-tw28.h similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-tw28.h rename to drivers/media/pci/solo6x10/solo6x10-tw28.h diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c b/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c rename to drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2.c b/drivers/media/pci/solo6x10/solo6x10-v4l2.c similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10-v4l2.c rename to drivers/media/pci/solo6x10/solo6x10-v4l2.c diff --git a/drivers/staging/media/solo6x10/solo6x10.h b/drivers/media/pci/solo6x10/solo6x10.h similarity index 100% rename from drivers/staging/media/solo6x10/solo6x10.h rename to drivers/media/pci/solo6x10/solo6x10.h diff --git a/drivers/staging/media/Kconfig b/drivers/staging/media/Kconfig index e91c538d3d0d..3312a3bd256d 100644 --- a/drivers/staging/media/Kconfig +++ b/drivers/staging/media/Kconfig @@ -33,8 +33,6 @@ source "drivers/staging/media/go7007/Kconfig" source "drivers/staging/media/omap24xx/Kconfig" -source "drivers/staging/media/solo6x10/Kconfig" - source "drivers/staging/media/omap4iss/Kconfig" # Keep LIRC at the end, as it has sub-menus diff --git a/drivers/staging/media/Makefile b/drivers/staging/media/Makefile index 4f6c0ee0ad13..205eba283326 100644 --- a/drivers/staging/media/Makefile +++ b/drivers/staging/media/Makefile @@ -2,7 +2,6 @@ obj-$(CONFIG_DVB_AS102) += as102/ obj-$(CONFIG_I2C_BCM2048) += bcm2048/ obj-$(CONFIG_DVB_CXD2099) += cxd2099/ obj-$(CONFIG_LIRC_STAGING) += lirc/ -obj-$(CONFIG_SOLO6X10) += solo6x10/ obj-$(CONFIG_VIDEO_DT3155) += dt3155v4l/ obj-$(CONFIG_VIDEO_GO7007) += go7007/ obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/ diff --git a/drivers/staging/media/solo6x10/TODO b/drivers/staging/media/solo6x10/TODO deleted file mode 100644 index 7b8db75b1acb..000000000000 --- a/drivers/staging/media/solo6x10/TODO +++ /dev/null @@ -1,15 +0,0 @@ -- batch up desc requests for more efficient use of p2m? -- encoder on/off controls -- mpeg cid bitrate mode (vbr/cbr) -- mpeg cid bitrate/bitrate-peak -- mpeg encode of user data -- mpeg decode of user data -- implement CID controls for mozaic areas - -- sound - - implement playback via external sound jack - - implement loopback of external sound jack with incoming audio? - - implement pause/resume (make use of in bc-server) - -Please send patches to the linux media list and -Cc Ismael Luceno .