]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: introduce ipa_cmd_tag_process()
authorAlex Elder <elder@linaro.org>
Tue, 30 Jun 2020 12:44:44 +0000 (07:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:10:57 +0000 (13:10 -0700)
commit0a4c4db0e87fe189ac06710fce32de7d440880e9
treed0c3728171350c73a468d7a46195669c31eb07b9
parente5d7a6e804440af4f227de0ccffe3777f6261ad9
net: ipa: introduce ipa_cmd_tag_process()

Create a new function ipa_cmd_tag_process() that simply allocates a
transaction, adds a tag process command to it to clear the hardware
pipeline, and commits the transaction.

Call it in from ipa_endpoint_suspend(), after suspending the modem
endpoints but before suspending the AP command TX and AP LAN RX
endpoints (which are used by the tag sequence).

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