OSDN Git Service

media: dw9807-vcm: Recognise this is just the VCM bit of the device
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 20 Jul 2018 21:07:15 +0000 (17:07 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 27 Jul 2018 16:33:09 +0000 (12:33 -0400)
The dw9807 contains a voice coil lens driver as well as an EEPROM. This
driver is just for the VCM. Reflect this in the driver's name --- this is
already the case for the compatible string, for instance.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/i2c/dw9807-vcm.c [moved from drivers/media/i2c/dw9807.c with 100% similarity]

index 439f6be..3a6434c 100644 (file)
@@ -346,7 +346,7 @@ config VIDEO_DW9714
          capability. This is designed for linear control of
          voice coil motors, controlled via I2C serial interface.
 
-config VIDEO_DW9807
+config VIDEO_DW9807_VCM
        tristate "DW9807 lens voice coil support"
        depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
        depends on VIDEO_V4L2_SUBDEV_API
index 837c428..a631416 100644 (file)
@@ -25,7 +25,7 @@ obj-$(CONFIG_VIDEO_SAA6752HS) += saa6752hs.o
 obj-$(CONFIG_VIDEO_AD5820)  += ad5820.o
 obj-$(CONFIG_VIDEO_AK7375)  += ak7375.o
 obj-$(CONFIG_VIDEO_DW9714)  += dw9714.o
-obj-$(CONFIG_VIDEO_DW9807)  += dw9807.o
+obj-$(CONFIG_VIDEO_DW9807_VCM)  += dw9807-vcm.o
 obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
 obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
 obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o