aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2018-09-01 08:46:29 -0400
committerMauro Carvalho Chehab <[email protected]>2018-09-17 15:19:40 -0400
commitb7a417628abf49dae98cb80a272dc133b0e4d1a3 (patch)
tree8bac0b42bc69f01df3cbacde1a14a22733df9689 /tools/perf/scripts/python
parent75b090a5bc961e578e232269596ddd0486ec6fca (diff)
media: ov2680: don't register the v4l2 subdevice before checking chip ID
The driver registers the v4l2 subdevice before attempting to power on the chip and checking its ID. This means that a media device driver that it's waiting for this subdevice to be bound, will prematurely expose its media device node to userspace because if something goes wrong the media entity will be cleaned up again on the ov2680 probe function. This also simplifies the probe function error path since no initialization is made before attempting to enable the resources or checking the chip ID. Fixes: 3ee47cad3e69 ("media: ov2680: Add Omnivision OV2680 sensor driver") Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions