diff options
| author | Laurent Pinchart <[email protected]> | 2020-12-07 00:53:35 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-01-04 11:32:53 +0100 |
| commit | 71c1f16ddd528db3955414316ba2ce2730ff7455 (patch) | |
| tree | 13a4ee26a02fcb54768566fe4fec5ccfd90b28f2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 695baaa373abf407214b117c0f24e43307388ac4 (diff) | |
media: ti-vpe: cal: Iterate over correct number of CAMERARX instances
When performing operations on all CAMERARX instances, code usually
iterates over all cal->phy[] entries and skips the NULL pointers. The
number of available CAMERARX instances is however available through
cal->data->num_csi2_phy. Use it instead.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Benoit Parrot <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions