]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: don't retry in ipa_endpoint_stop()
authorAlex Elder <elder@linaro.org>
Mon, 4 May 2020 23:53:43 +0000 (18:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 00:41:11 +0000 (17:41 -0700)
commit5782f69ae0515e06098bbd99da38ef8ee2e1177c
tree9b8d569b59d218c5a18b30c5807caf70228f80f9
parent9cfbe2d4551e48d0089cc3e63849163599e9552e
net: ipa: don't retry in ipa_endpoint_stop()

The only reason ipa_endpoint_stop() had a retry loop was that the
just-removed workaround required an IPA DMA command to occur between
attempts.  The gsi_channel_stop() call that implements the stop does
its own retry loop, to cover a channel's transition from started to
stop-in-progress to stopped state.

Get rid of the unnecessary retry loop in ipa_endpoint_stop().

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