]> 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)
commit780698d042caa77bf640a68d8c5233919198e301
treef583fc5964f673a96bd970e9a59d279109857dea
parent494ab696af22b48cf4c66c8559e1300066a04915
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