]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: only reset channel twice for IPA v3.5.1
authorAlex Elder <elder@linaro.org>
Mon, 4 May 2020 23:30:03 +0000 (18:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 00:36:04 +0000 (17:36 -0700)
commite47fa5ce9c25b22b2ee5fe4ec257c0e87a8eb69d
tree6cfa1d0f23b19555803215c572dd721f90b72184
parent4c100c02f9b173b44c93e37147e2bb2550518a68
net: ipa: only reset channel twice for IPA v3.5.1

In gsi_channel_reset(), RX channels are subjected to two consecutive
CHANNEL_RESET commands.  This workaround should only be used for IPA
version 3.5.1, and for newer hardware "can lead to unwanted behavior."

Only issue the second CHANNEL_RESET command for legacy hardware.

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