]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ipa: always check for stopped channel
authorAlex Elder <elder@linaro.org>
Tue, 30 Jun 2020 12:44:42 +0000 (07:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:10:57 +0000 (13:10 -0700)
commit5468cbcddf47f674829c6ada190283108a63d7b5
treef33951b076bf46232b825b6d97e65a462135065b
parentf2ca673d2cd5df9a76247b670e9ffd4d63682b3f
net: ipa: always check for stopped channel

In gsi_channel_stop(), there's a check to see if the channel might
have entered STOPPED state since a previous call, which might have
timed out before stopping completed.

That check actually belongs in gsi_channel_stop_command(), which is
called repeatedly by gsi_channel_stop() for RX channels.

Fixes: 650d1603825d ("soc: qcom: ipa: the generic software interface")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c