]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: make IPA interrupt handler threaded only
authorAlex Elder <elder@linaro.org>
Tue, 27 Jul 2021 19:46:26 +0000 (14:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 20:02:06 +0000 (21:02 +0100)
commit1c1ab1a20a20269aad20c1cde4b613c2142c065d
tree63064ebc76ea3f3287f6791d8aa757f7d2ca9fd9
parente97add5399019ea297b2fe8be65e02aea85ed3ba
net: ipa: make IPA interrupt handler threaded only

When the IPA interrupt handler runs, the IPA core clock must already
be operational, and the interconnect providing access by the AP to
IPA config space must be enabled too.

Currently we ensure this by taking a top-level "stay awake" IPA
clock reference, but that will soon go away.  In preparation for
that, move all handling for the IPA IRQ into the thread function.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_interrupt.c