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)
commit057ef63f755f4ef15eb534f922c1d057c50d4571
treef0ea08993b396de8f93e41199ddded007b7358a5
parent3d60e15f6ead2f4a56903a8c737e7f522c867827
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