summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBenjamin Bara <benjamin.bara@skidata.com>2024-09-03 16:54:34 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-10-16 09:32:36 +0200
commit9755343cb27ef0b0a82e196e2e4d2d3c3a275163 (patch)
tree32d47a8cb7d82eeb08c83a2a2f27f41bdebaa2cf /tools/perf/scripts/python/task-analyzer.py
parenta92651b8e288db2fff461c544ce9b95f6fb40ce8 (diff)
downloadlinux-9755343cb27ef0b0a82e196e2e4d2d3c3a275163.tar.gz
linux-9755343cb27ef0b0a82e196e2e4d2d3c3a275163.zip
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 <benjamin.bara@skidata.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions