]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: restrict special reset to IPA v3.5.1
authorAlex Elder <elder@linaro.org>
Mon, 2 Nov 2020 17:34:35 +0000 (11:34 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Nov 2020 01:56:46 +0000 (17:56 -0800)
commit8112abcf996557c1dd4123143936947a0079f748
treea83d52cdee127a28db5a8e2482e3b70125ebdc3c
parent27a53d8cc062ba81362c8e5ae5b931925e93d95d
net: ipa: restrict special reset to IPA v3.5.1

With IPA v3.5.1, if IPA aggregation is active at the time an
underlying GSI channel reset is performed, some special handling
is required.

There is logic in ipa_endpoint_reset() that arranges for that
special handling, but it's done for all hardware versions, not
just IPA v3.5.1.

Fix the logic to properly restrict the special behavior.

Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20201102173435.5987-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_endpoint.c