diff options
author | Alex Elder <elder@linaro.org> | 2021-08-12 14:50:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-14 14:13:38 +0100 |
commit | a96e73fa1269a1d1b932f465ed0a803d4c153258 (patch) | |
tree | 3b2778b2c41e9dfa86cfa1a4c18d4bbf72017216 /net/unix/af_unix.c | |
parent | b9c532c11cab21d23a67c2d80a02a444c9e07ac6 (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