]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8f71e78befea68ac6daf0d500b0c0ad56670ad9
tree4e7b82de2b2f283607f10e581da1bac014d01a48
parent8dcac728b46f0a7f74173c07437343a9a16c7a63
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