linux/drivers/media
Akinobu Mita baf1b186ea media: max2175: 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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.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:08:13 -04:00
..
cec media: cec-pin: use IS_ERR instead of PTR_ERR_OR_ZERO 2017-10-31 07:21:23 -04:00
common media: saa7146: Convert timers to use timer_setup() 2017-10-31 06:40:08 -04:00
dvb-core media: dvb-core: Convert timers to use timer_setup() 2017-10-31 06:40:30 -04:00
dvb-frontends media: dvb_frontend: get rid of get_property() callback 2017-10-11 12:51:36 -04:00
firewire
i2c media: max2175: don't clear V4L2_SUBDEV_FL_IS_I2C 2017-10-31 12:08:13 -04:00
mmc
pci media: pci: Convert timers to use timer_setup() 2017-10-31 07:24:43 -04:00
platform media: st-hva: hva-h264: use swap macro in hva_h264_encode 2017-10-31 07:30:21 -04:00
radio media: radio-raremono: remove redundant initialization of freq 2017-10-31 07:26:39 -04:00
rc media: rc: mceusb: add support for 15f4:0135 2017-10-31 06:35:32 -04:00
spi
tuners media: dvb: i2c transfers over usb cannot be done from stack 2017-09-23 07:21:33 -04:00
usb media: gspca: remove redundant assignment to variable j 2017-10-31 07:27:37 -04:00
v4l2-core media: v4l2-ctrl: Fix flags field on Control events 2017-10-31 07:21:00 -04:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00