]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: reduce IPA version assumptions
authorAlex Elder <elder@linaro.org>
Wed, 24 Mar 2021 13:15:23 +0000 (08:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:52:47 +0000 (16:52 -0700)
commitfd7e84760ea2a8cd288553f402dc8d0dad6ea140
treef583fc5964f673a96bd970e9a59d279109857dea
parent1dea49b31cad2f1809ebe3c8565a7260f955058b
net: ipa: reduce IPA version assumptions

Modify conditional tests throughout the IPA code so they do not
assume that IPA v3.5.1 is the oldest version supported.  Also remove
assumptions that IPA v4.5 is the newest version of IPA supported.

Augment versions in comments with "+", to be clearer that the
comment applies to a version and subsequent versions.  (E.g.,
"present for IPA v4.2+" instead of just "present for v4.2".)

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