diff options
| author | Akinobu Mita <[email protected]> | 2017-10-19 12:31:20 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-10-31 12:07:56 -0400 |
| commit | 5cc72c472654c493c461898d892e87cde97994be (patch) | |
| tree | 819a5973781fdab026ac05fb09b238f0ed4e6a48 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 3fa013be95bb046490d3b11d546bf06d73c7e0e3 (diff) | |
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 <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions