diff options
author | Benjamin Bara <[email protected]> | 2024-09-03 16:54:34 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-10-16 09:32:36 +0200 |
commit | 9755343cb27ef0b0a82e196e2e4d2d3c3a275163 (patch) | |
tree | 32d47a8cb7d82eeb08c83a2a2f27f41bdebaa2cf /tools/perf/scripts/python/task-analyzer.py | |
parent | a92651b8e288db2fff461c544ce9b95f6fb40ce8 (diff) |
media: i2c: imx290: Check for availability in probe()
Currently, the V4L2 subdevice is also created when the device is not
available/connected. From userspace perspective, there is no visible
difference between a working and not-working subdevice (except when
trying it out).
This commit adds a simple preparation step, which includes an
availability check, before the subdev is initialized.
Signed-off-by: Benjamin Bara <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions