aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2023-07-10 17:52:02 +0200
committerMauro Carvalho Chehab <[email protected]>2023-08-10 07:58:39 +0200
commit7319d5706493d66587e0ae602608465b1ad9963e (patch)
tree61610052813e884ba4c74c6e756094c0aa444df3 /tools/perf/scripts/python/flamegraph.py
parente8a5b1df000e1a23c04dadbe99621441e0889f88 (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions