aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-04-11 18:42:16 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2024-04-26 10:44:53 +0100
commit2eee9581745441080ad0bb4df0e159a44b686fc5 (patch)
tree12ed0705578aba1cae8935b8ed91fd851b95284d /tools/perf/scripts/python/flamegraph.py
parentmedia: atomisp: Get rid of PCI device ID hack check (diff)
downloadlinux-2eee9581745441080ad0bb4df0e159a44b686fc5.tar.gz
linux-2eee9581745441080ad0bb4df0e159a44b686fc5.zip
media: atomisp: Add atomisp_s_sensor_power() helper
Since the atomisp driver only supports 1 stream / only has 1 asd now, there is no longer a need to track which stream owns the sensor. So the asd owner-pointer of struct atomisp_input_subdev can be dropped, replace this with a simple camera_on boolean and add a new atomisp_s_sensor_power() helper which takes care of avoiding unbalanced s_power() subdev calls as well as takes care of handling the special -ENOIOCTLCMD return for subdevs which don't implement s_power(). Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions