aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-11-14 15:44:49 +0000
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-11-25 08:23:41 +0000
commit6736a68fe15640e007a75f873cec86bdf9cc47a6 (patch)
tree08355f76e594b2098805b6f4ad0ffbbebf379da7 /tools/perf/scripts/python
parentmedia: atomisp: Remove sw_contex.power_state checks (diff)
downloadlinux-6736a68fe15640e007a75f873cec86bdf9cc47a6.tar.gz
linux-6736a68fe15640e007a75f873cec86bdf9cc47a6.zip
media: atomisp: Remove duplication between runtime-pm and normal-pm code
atomisp_suspend() contains a 1:1 copy of atomisp_runtime_suspend() and the same goes for the resume() functions. Rename the runtime functions to atomisp_power_on()/_off() and use these as runtime-pm handlers as well as helper in other places to remove the code duplication. 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')
0 files changed, 0 insertions, 0 deletions