diff options
| author | Laurent Pinchart <[email protected]> | 2020-07-06 20:36:14 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 09:30:23 +0200 |
| commit | b4b784953c49c01ef0a52b7e81a938bb4bbf53d5 (patch) | |
| tree | 822ba7f6fce4c438b5905cfa390688e4112c6226 /tools/perf/scripts/python | |
| parent | 4b71bfbc9787e359f63ef0d876e173b1c474ffc7 (diff) | |
media: ti-vpe: cal: Move v4l2_device from cal_ctx to cal_dev
The v4l2_device structure is meant to represent the whole device. In the
CAL case, this corresponds to the CAL, the CAMERARX instances and the
connected sensors. There should thus be a single v4l2_device instance.
Replace the per-context instance with a global instance in the cal_dev
structure.
Don't set the v4l2_device name manually as v4l2_device_register() sets
it to a value that is suitable for the driver.
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')
0 files changed, 0 insertions, 0 deletions