Skip to contentSkip to conversation

media: mx1_camera: Remove driver

PATCH In review Alexander Shiyan 2 participants 3 messages May 24, 2014 – May 25, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 media: mx1_camera: Remove driver

That driver hasn't been really maintained for a long time. It doesn't compile in any way, it includes non-existent headers, has no users, and marked as "BROKEN" more than year. Due to these factors, mx1_camera is now removed from the tree.

---
 drivers/media/platform/soc_camera/Kconfig      |  13 -
 drivers/media/platform/soc_camera/Makefile     |   1 -
 drivers/media/platform/soc_camera/mx1_camera.c | 866 -------------------------
 3 files changed, 880 deletions(-)
 delete mode 100644 drivers/media/platform/soc_camera/mx1_camera.c
drivers/media/platform/soc_camera/Kconfig +0 -13
index af39c46..122e03a 100644
@@ -17,19 +17,6 @@ config SOC_CAMERA_PLATFORM
 	help
 	  This is a generic SoC camera platform driver, useful for testing
 
-config MX1_VIDEO
-	bool
-
-config VIDEO_MX1
-	tristate "i.MX1/i.MXL CMOS Sensor Interface driver"
-	depends on BROKEN
-	depends on VIDEO_DEV && ARCH_MX1 && SOC_CAMERA
-	select FIQ
-	select VIDEOBUF_DMA_CONTIG
-	select MX1_VIDEO
-	---help---
-	  This is a v4l2 driver for the i.MX1/i.MXL CMOS Sensor Interface
-
 config VIDEO_MX3
 	tristate "i.MX3x Camera Sensor Interface driver"
 	depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA
drivers/media/platform/soc_camera/Makefile +0 -1
index 8aed26d..2826382 100644
@@ -7,7 +7,6 @@ obj-$(CONFIG_SOC_CAMERA_PLATFORM)	+= soc_camera_platform.o
 
 # soc-camera host drivers have to be linked after camera drivers
 obj-$(CONFIG_VIDEO_ATMEL_ISI)		+= atmel-isi.o
-obj-$(CONFIG_VIDEO_MX1)			+= mx1_camera.o
 obj-$(CONFIG_VIDEO_MX2)			+= mx2_camera.o
 obj-$(CONFIG_VIDEO_MX3)			+= mx3_camera.o
 obj-$(CONFIG_VIDEO_OMAP1)		+= omap1_camera.o
drivers/media/platform/soc_camera/mx1_camera.c deleted +0 -866

866 lines not on this page · raw message

Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 2/2 media: mx2_camera: Change Kconfig dependency

This patch change MACH_MX27 dependency to SOC_IMX27 for MX2 camera driver, since MACH_MX27 symbol is scheduled for removal.

---
 drivers/media/platform/soc_camera/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/soc_camera/Kconfig +1 -1
index 122e03a..fc62897 100644
@@ -63,7 +63,7 @@ config VIDEO_OMAP1
 
 config VIDEO_MX2
 	tristate "i.MX27 Camera Sensor Interface driver"
-	depends on VIDEO_DEV && SOC_CAMERA && MACH_MX27
+	depends on VIDEO_DEV && SOC_CAMERA && SOC_IMX27
 	select VIDEOBUF2_DMA_CONTIG
 	---help---
 	  This is a v4l2 driver for the i.MX27 Camera Sensor Interface
Signature · 1 line
1.8.5.5
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] media: mx2_camera: Change Kconfig dependency

Quoted 4 lines · Alexander Shiyan

This patch change MACH_MX27 dependency to SOC_IMX27 for MX2 camera driver, since MACH_MX27 symbol is scheduled for removal.

Quoted 20 lines
---
 drivers/media/platform/soc_camera/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/soc_camera/Kconfig +1 -1
index 122e03a..fc62897 100644
@@ -63,7 +63,7 @@ config VIDEO_OMAP1
 
 config VIDEO_MX2
 	tristate "i.MX27 Camera Sensor Interface driver"
-	depends on VIDEO_DEV && SOC_CAMERA && MACH_MX27
+	depends on VIDEO_DEV && SOC_CAMERA && SOC_IMX27
 	select VIDEOBUF2_DMA_CONTIG
 	---help---
 	  This is a v4l2 driver for the i.MX27 Camera Sensor Interface
Signature · 1 line
1.8.5.5