aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2024-04-11 18:56:47 +0100
committerMauro Carvalho Chehab <[email protected]>2024-04-26 10:48:40 +0100
commit1a1ce0c308136e2bfdf326e1100809fe34558a4e (patch)
tree505f76d2d68da0ef97fdac10d63bbdbc3dfe5234 /tools/perf/scripts/python/flamegraph.py
parent61d9b1ffc68f109f987811e6d31d6440608f6e5c (diff)
media: atomisp: Add atomisp_select_input() helper
When switching input/sensor the s_power() callback must be called for old sensor drivers to power on the new sensor and power off the previous sensor. atomisp_s_input() already does this but atomisp_link_setup() did not do this. Add a new atomisp_select_input() helper which does this and use this in both atomisp_s_input() and atomisp_link_setup() for consistent behavior. Also make atomisp_link_setup() turn the sensor back off when a link gets disabled. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Hans de Goede <[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