diff options
| author | Laurent Pinchart <[email protected]> | 2023-01-16 15:44:53 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-03 15:05:50 +0100 |
| commit | 76c001287f6a56f37a5d48682086c334d81ec9f2 (patch) | |
| tree | 6e31af9b08e51315f0897f72996189756cf19aeb /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | 7d399658f7c666ead4bc3dbe88944bb8ea7746ca (diff) | |
media: i2c: imx290: Simplify imx290_set_data_lanes()
There's no need to check for an incorrect number of data lanes in
imx290_set_data_lanes() as the value is validated at probe() time. Drop
the check.
The PHY_LANE_NUM and CSI_LANE_MODE registers are programmed with a value
equal to the number of lanes minus one. Compute it instead of handling
it in the switch/case.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Alexander Stein <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions