]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: get rid of workaround in ipa_endpoint_stop()
authorAlex Elder <elder@linaro.org>
Mon, 4 May 2020 23:53:42 +0000 (18:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 00:41:11 +0000 (17:41 -0700)
commit2ecf5948de0aa52b8946c5f20cff483374118e40
tree5186d36b947b720f8921f006cb783bc467c4361d
parent31e38902c9dfd00b1e2719c263cd2eba0b804d3a
net: ipa: get rid of workaround in ipa_endpoint_stop()

In ipa_endpoint_stop(), a workaround is used for IPA version 3.5.1
where a 1-byte DMA request is issued between GSI channel stop
retries.

It turns out that this workaround is only required for IPA versions
3.1 and 3.2, and we don't support those.  So remove the call to
ipa_endpoint_stop_rx_dma() in that function.  That leaves that
function unused, so get rid of it.

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