summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-08-12 14:50:32 -0500
committerDavid S. Miller <davem@davemloft.net>2021-08-14 14:13:38 +0100
commita96e73fa1269a1d1b932f465ed0a803d4c153258 (patch)
tree3b2778b2c41e9dfa86cfa1a4c18d4bbf72017216 /net/unix/af_unix.c
parentb9c532c11cab21d23a67c2d80a02a444c9e07ac6 (diff)
net: ipa: re-enable transmit in PM WQ context
Create a new work structure in the modem private data, and use it to re-enable the modem network device transmit queue when resuming. This is needed by the next patch, which stops the TX queue if IPA power isn't active when a transmit request arrives. Packets will start arriving the instant the TX queue is enabled, but resuming isn't complete until ipa_modem_resume() returns. This way we're sure to be resumed before transmits are allowed again. Cancel it before calling ipa_stop() in ipa_modem_stop() to ensure the transmit queue restart completes before it gets stopped there. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions