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)
commit6cb63ea6a39eac9640d109f274a237b34350c183
treed0c3728171350c73a468d7a46195669c31eb07b9
parent41af5436e857ec64f302fcc9b6e4a8c526b6b402
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