]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: retry TX channel stop commands
authorAlex Elder <elder@linaro.org>
Wed, 13 Jan 2021 17:15:32 +0000 (11:15 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 01:40:11 +0000 (17:40 -0800)
commit83f2080a7451c8b80d3851de7489df473fbffd6a
treef0ea08993b396de8f93e41199ddded007b7358a5
parent07be7c94fd91e3547576ca3ad9297e997d110433
net: ipa: retry TX channel stop commands

For RX channels we issue a stop command more than once if necessary
to allow it to stop.  It turns out that TX channels could also
require retries.

Retry channel stop commands if necessary regardless of the channel
direction.  Rename the symbol defining the retry count so it's not
RX-specific.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c