Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dw9807-vcm: Recognise this is just the VCM bit of the device

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>

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
e6c17ada 4070fc9a

+2 -2
+1 -1
drivers/media/i2c/Kconfig
··· 346 346 capability. This is designed for linear control of 347 347 voice coil motors, controlled via I2C serial interface. 348 348 349 - config VIDEO_DW9807 349 + config VIDEO_DW9807_VCM 350 350 tristate "DW9807 lens voice coil support" 351 351 depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER 352 352 depends on VIDEO_V4L2_SUBDEV_API
+1 -1
drivers/media/i2c/Makefile
··· 25 25 obj-$(CONFIG_VIDEO_AD5820) += ad5820.o 26 26 obj-$(CONFIG_VIDEO_AK7375) += ak7375.o 27 27 obj-$(CONFIG_VIDEO_DW9714) += dw9714.o 28 - obj-$(CONFIG_VIDEO_DW9807) += dw9807.o 28 + obj-$(CONFIG_VIDEO_DW9807_VCM) += dw9807-vcm.o 29 29 obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o 30 30 obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o 31 31 obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
drivers/media/i2c/dw9807.c drivers/media/i2c/dw9807-vcm.c