aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2023-01-16 15:44:42 +0100
committerMauro Carvalho Chehab <[email protected]>2023-02-03 15:00:28 +0100
commit31b54a422b3f66f715a0963d1d3ce0c7678fb333 (patch)
treedd850b6f6c2843e89b4d8609aa769324fc363b89 /tools/perf/scripts/python/stackcollapse.py
parent70bbf56aa82ca972be424ec110f9a7f4ab9ee732 (diff)
media: i2c: imx290: Pass format and mode to imx290_calc_pixel_rate()
Avoid accessing the imx290 current_format and current_mode fields in imx290_calc_pixel_rate() to prepare for the removal of those fields. Among the two callers of the function, imx290_ctrl_update() has an explicit mode pointer already, and we can also give it a format pointer. Use those explicitly. While at it, inline the imx290_get_link_freq() function in imx290_calc_pixel_rate() as it is only called there. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions