linux/drivers/media/i2c
Akinobu Mita 5cc72c4726 media: adv7180: don't clear V4L2_SUBDEV_FL_IS_I2C
The v4l2_i2c_subdev_init() sets V4L2_SUBDEV_FL_IS_I2C flag in the
subdev->flags.  But this driver overwrites subdev->flags immediately after
calling v4l2_i2c_subdev_init().  So V4L2_SUBDEV_FL_IS_I2C is not set after
all.

This stops breaking subdev->flags and preserves V4L2_SUBDEV_FL_IS_I2C.

Side note: According to the comment in v4l2_device_unregister(), this is
problematic only if the device is platform bus device.  Device tree or
ACPI based devices are not affected.

Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-10-31 12:07:56 -04:00
..
adv748x [media] media: i2c: adv748x: Map v4l2_std_id to the internal reg value 2017-10-04 16:56:05 -03:00
cx25840 media: cx25840: make array stds static const, reduces object code size 2017-09-23 08:29:26 -04:00
et8ek8 media: et8ek8: Decrease stack usage 2017-08-20 08:33:46 -04:00
m5mols media: i2c: m5mols: fix spelling mistake: "Machanics" -> "Mechanics" 2017-07-19 15:00:31 -04:00
s5c73m3 media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
smiapp media: smiapp: Rely on runtime PM 2017-10-24 17:14:25 +02:00
soc_camera [media] i2c: Improve a size determination 2017-10-04 17:15:39 -03:00
ad5820.c [media] ad5820: unregister async sub-device 2017-06-08 12:34:17 -03:00
ad9389b.c media: ad9389b: constify i2c_device_id 2017-08-26 08:42:12 -04:00
adp1653.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
adv7170.c [media] adv7170: drop redundant ret local 2017-01-30 15:47:05 -02:00
adv7175.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
adv7180.c media: adv7180: don't clear V4L2_SUBDEV_FL_IS_I2C 2017-10-31 12:07:56 -04:00
adv7183_regs.h scripts/spelling.txt: add "swithc" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
adv7183.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
adv7343_regs.h
adv7343.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
adv7393_regs.h
adv7393.c [media] media/i2c: Delete owner assignment 2016-09-06 16:21:24 -03:00
adv7511.c media: adv7511: constify i2c_device_id 2017-08-26 08:42:28 -04:00
adv7604.c media: drivers: Adjust checks for null pointers 2017-09-23 08:20:57 -04:00
adv7842.c media: drivers: improve a size determination 2017-09-23 08:20:57 -04:00
ak881x.c [media] drivers: media: i2c: ak881x: constify v4l2_subdev_* structures 2017-02-03 09:33:55 -02:00
aptina-pll.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
aptina-pll.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
as3645a.c [media] as3645a: Join string literals back 2017-06-20 08:18:12 -03:00
bt819.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bt856.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bt866.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cs53l32a.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cs3308.c [media] media/i2c: Delete owner assignment 2016-09-06 16:21:24 -03:00
cs5345.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dw9714.c [media] dw9714: Set the v4l2 focus ctrl step as 1 2017-10-04 17:08:47 -03:00
imx274.c media: imx274: V4l2 driver for Sony imx274 CMOS sensor 2017-10-27 15:22:17 +02:00
ir-kbd-i2c.c [media] media: rc: ensure that protocols are enabled for scancode drivers 2017-10-04 15:22:26 -03:00
Kconfig media: imx274: V4l2 driver for Sony imx274 CMOS sensor 2017-10-27 15:22:17 +02:00
ks0127.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ks0127.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lm3560.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
lm3646.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
m52790.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Makefile media: imx274: V4l2 driver for Sony imx274 CMOS sensor 2017-10-27 15:22:17 +02:00
max2175.c media: max2175: Propagate the real error on devm_clk_get() failure 2017-08-27 18:14:11 -04:00
max2175.h [media] media: i2c: max2175: Add MAX2175 support 2017-06-20 07:02:43 -03:00
ml86v7667.c [media] drivers: media: i2c: ml86v7667: constify v4l2_subdev_* structures 2017-02-03 09:34:43 -02:00
msp3400-driver.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
msp3400-driver.h [media] msp3400: use IS_ENABLED check instead of #if 2016-02-02 14:28:56 -02:00
msp3400-kthreads.c [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
mt9m032.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mt9m111.c [media] mt9m111: Propagate the real error on v4l2_clk_get() failure 2017-10-04 17:07:18 -03:00
mt9p031.c [media] drivers: media: i2c: constify v4l2_subdev_* structures 2017-02-03 09:23:19 -02:00
mt9t001.c media: v4l: mt9t001: constify video_subdev structures 2017-08-20 08:32:00 -04:00
mt9v011.c [media] mt9v011: add media controller support 2016-02-01 07:29:14 -02:00
mt9v032.c [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
noon010pc30.c [media] drivers: media: i2c: constify v4l2_subdev_* structures 2017-02-03 09:23:19 -02:00
ov2640.c [media] ov2640: make array reset_seq static, reduces object code size 2017-10-04 17:21:28 -03:00
ov2659.c [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
ov5640.c media: ov5640: Remove unneeded gpiod NULL check 2017-07-26 08:41:57 -04:00
ov5645.c media: ov5645: Add control to export CSI2 link frequency 2017-07-19 15:52:00 -04:00
ov5647.c media: i2c: OV5647: change to use macro for the registers 2017-10-27 16:13:42 +02:00
ov5670.c [media] media: ov5670: Fix not streaming issue after resume 2017-10-04 17:09:47 -03:00
ov6650.c [media] i2c: Delete an error messages for failed memory allocation 2017-10-04 17:15:22 -03:00
ov7640.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ov7670.c media: ov7670: Add the ov7670_s_power function 2017-10-27 16:11:46 +02:00
ov9650.c media: ov9655: fix missing mutex_destroy() 2017-08-08 06:31:47 -04:00
ov13858.c [media] ov13858: Use do_div() for dividing a 64-bit number 2017-10-04 17:23:13 -03:00
s5k4ecgx.c [media] media/i2c: Delete owner assignment 2016-09-06 16:21:24 -03:00
s5k5baf.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
s5k6a3.c [media] drivers: media: i2c: constify v4l2_subdev_* structures 2017-02-03 09:23:19 -02:00
s5k6aa.c [media] s5k6aa: set usleep_range() range greater than 0 2017-06-13 14:20:50 -03:00
saa711x_regs.h
saa717x.c media: media/i2c/saa717x: fix spelling mistake: "implementd" -> "implemented" 2017-07-19 15:00:57 -04:00
saa6588.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
saa6752hs.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa7110.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
saa7115.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
saa7127.c media: saa7127: constify i2c_device_id 2017-08-26 08:42:57 -04:00
saa7185.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
smiapp-pll.c [media] smiapp-pll: Don't complain aloud about failing PLL calculation 2016-10-21 15:15:06 -02:00
smiapp-pll.h
sony-btf-mpx.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sr030pc30.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
tc358743_regs.h media: tc358743_regs.h: add CEC registers 2017-09-23 07:57:59 -04:00
tc358743.c media: tc358743: Convert timers to use timer_setup() 2017-10-31 06:39:24 -04:00
tda7432.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tda9840.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tea6415c.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tea6415c.h
tea6420.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tea6420.h
ths7303.c [media] media: i2c: ths7303: remove redundant assignment on bt 2016-05-07 11:47:12 -03:00
ths8200_regs.h
ths8200.c media: ths8200: constify i2c_device_id 2017-08-26 08:43:40 -04:00
tlv320aic23b.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tvaudio.c media: tvaudio: Convert timers to use timer_setup() 2017-10-31 06:40:50 -04:00
tvp514x_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tvp514x.c [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
tvp5150_reg.h [media] v4l: tvp5150: Fix comment regarding output pin muxing 2016-12-21 07:31:49 -02:00
tvp5150.c media: i2c: tvp5150: remove useless variable assignment in tvp5150_set_vbi() 2017-06-24 19:04:46 -03:00
tvp7002_reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tvp7002.c [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
tw2804.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tw9903.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tw9906.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
uda1342.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
upd64031a.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
upd64083.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vp27smpx.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpx3220.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vs6624_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vs6624.c media: vs6624: constify vs6624_default_fmt 2017-08-09 11:19:20 -04:00
wm8739.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
wm8775.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00