net: ipa: introduce gsi_channel_stop_retry()
authorAlex Elder <elder@linaro.org>
Mon, 1 Feb 2021 17:28:45 +0000 (11:28 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 01:42:35 +0000 (17:42 -0800)
commit697e834e143afa733913fe2c9bc06b5e4d139c66
tree4e7b82de2b2f283607f10e581da1bac014d01a48
parent6b00a76a1db6e8898b5f09e0f09ed129ce870ce3
net: ipa: introduce gsi_channel_stop_retry()

Create a new helper function that encapsulates issuing a set of
channel stop commands, retrying if appropriate, with a short delay
between attempts.

Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c