Re: [PATCH 0/4] media: don't clear V4L2_SUBDEV_FL_IS_I2C

2017-10-20 Thread Sakari Ailus
On Fri, Oct 20, 2017 at 01:31:19AM +0900, Akinobu Mita wrote: > The v4l2_i2c_subdev_init() sets V4L2_SUBDEV_FL_IS_I2C flag in the > subdev->flags. But some drivers overwrite subdev->flags immediately after > calling v4l2_i2c_subdev_init(). So V4L2_SUBDEV_FL_IS_I2C is not set after > all. > >

[PATCH 0/4] media: don't clear V4L2_SUBDEV_FL_IS_I2C

2017-10-19 Thread Akinobu Mita
The v4l2_i2c_subdev_init() sets V4L2_SUBDEV_FL_IS_I2C flag in the subdev->flags. But some drivers overwrite subdev->flags immediately after calling v4l2_i2c_subdev_init(). So V4L2_SUBDEV_FL_IS_I2C is not set after all. This patch series fixes the problem for each driver. Side note: According