diff options
| author | Jacopo Mondi <[email protected]> | 2023-07-10 17:52:02 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-10 07:58:39 +0200 |
| commit | 7319d5706493d66587e0ae602608465b1ad9963e (patch) | |
| tree | 61610052813e884ba4c74c6e756094c0aa444df3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e8a5b1df000e1a23c04dadbe99621441e0889f88 (diff) | |
media: i2c: imx219: Simplify format assignment
The set_fmt and init_cfg functions both fills a v4l2_mbus_framefmt
instance, passing in the mode and the media bus code. While set_fmt
uses function helpers, init_cfg open-codes the assignments.
Simplify the format initialization by moving it to a common helper.
Signed-off-by: Jacopo Mondi <[email protected]>
Reviewed-by: Laurent Pinchart <[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/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions