summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_power.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2023-01-04 11:52:29 -0600
committerJakub Kicinski <kuba@kernel.org>2023-01-05 22:03:13 -0800
commit8e461e1f092b22d9ae1b7764bf7c85d1992c56e3 (patch)
treee6c6adce39c56558b8f4ec78c033f6c8c84a5448 /drivers/net/ipa/ipa_power.c
parente5709b7c1ede61e6fc7fe70391b1cbe44323861a (diff)
net: ipa: introduce ipa_interrupt_enable()
Create new function ipa_interrupt_enable() to encapsulate enabling one of the IPA interrupt types. Introduce ipa_interrupt_disable() to reverse that operation. Add a helper function to factor out the common register update used by both. Use these in ipa_interrupt_add() and ipa_interrupt_remove(). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_power.c')
0 files changed, 0 insertions, 0 deletions