diff options
author | Alex Elder <elder@linaro.org> | 2021-08-04 18:36:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-05 13:27:05 +0300 |
commit | afe1baa82db2b7345944b042a6c84757639a4283 (patch) | |
tree | 439cf68204228c9b8b3c997a564bdb77ac8972a9 /drivers/net/dsa/rtl8366rb.c | |
parent | 73ff316dac17accc05e28ae4939426044fb437ec (diff) | |
download | linux-afe1baa82db2b7345944b042a6c84757639a4283.tar.xz |
net: ipa: move ipa_suspend_handler()
Move ipa_suspend_handler() into "ipa_clock.c" from "ipa_main.c", to
group with the reset of the suspend/resume code. This IPA interrupt
is triggered if an IPA RX endpoint is suspended but has a packet to
be delivered.
Introduce ipa_power_setup() and ipa_power_teardown() to add and
remove the handler for the IPA SUSPEND interrupt at the same place
as before, while allowing the handler to remain private.
The "power" naming convention will be adopted elsewhere in this
file as well (soon).
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/rtl8366rb.c')
0 files changed, 0 insertions, 0 deletions