diff options
| author | Benjamin Bara <benjamin.bara@skidata.com> | 2024-09-03 16:54:34 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-16 09:32:36 +0200 |
| commit | 9755343cb27ef0b0a82e196e2e4d2d3c3a275163 (patch) | |
| tree | 32d47a8cb7d82eeb08c83a2a2f27f41bdebaa2cf /tools/perf/scripts/python/bin | |
| parent | a92651b8e288db2fff461c544ce9b95f6fb40ce8 (diff) | |
| download | linux-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/bin')
0 files changed, 0 insertions, 0 deletions
