]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: use tag process on modem crash
authorAlex Elder <elder@linaro.org>
Thu, 7 May 2020 19:14:04 +0000 (14:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 21:00:29 +0000 (14:00 -0700)
commit1682d303baaff9a77e38e49407f3cb8471e5774d
tree4f26d2a11f42749d6a8d49709f45cd71b24ec4a2
parent621408301c205d1d427eca89c44ab5df65520f29
net: ipa: use tag process on modem crash

One part of recovering from a modem crash is performing a "tag
sequence" of several IPA immediate commands, to clear the hardware
pipeline.  The sequence ends with a data transfer request on the
command endpoint (which is not otherwise done).  Unfortunately,
attempting to do the data transfer led to a hang, so that request
plus two other commands were commented out.

The previous commit fixes the bug that was causing that hang.  And
with that bug fixed we can properly issue the tag sequence when the
modem crashes, to return the hardware to a known state.

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