summaryrefslogtreecommitdiffstats
path: root/drivers/perf/fsl_imx9_ddr_perf.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2024-04-19 17:17:55 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-04-23 13:08:08 +0200
commit19790951f031bd22b70daf7f4fec11bc459566e9 (patch)
treef665167226d5a21b0b2cf049206d864c337df47a /drivers/perf/fsl_imx9_ddr_perf.c
parentnet: ipa: only enable the SUSPEND IPA interrupt when needed (diff)
downloadlinux-19790951f031bd22b70daf7f4fec11bc459566e9.tar.xz
linux-19790951f031bd22b70daf7f4fec11bc459566e9.zip
net: ipa: call device_init_wakeup() earlier
Currently, enabling wakeup for the IPA device doesn't occur until the setup phase of initialization (in ipa_power_setup()). There is no need to delay doing that, however. We can conveniently do it during the config phase, in ipa_interrupt_config(), where we enable power management wakeup mode for the IPA interrupt. Moving the device_init_wakeup() out of ipa_power_setup() leaves that function empty, so it can just be eliminated. Similarly, rearrange all of the matching inverse calls, disabling device wakeup in ipa_interrupt_deconfig() and removing that function as well. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/perf/fsl_imx9_ddr_perf.c')
0 files changed, 0 insertions, 0 deletions