]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: a few simple renames
authorAlex Elder <elder@linaro.org>
Wed, 13 Jan 2021 17:15:27 +0000 (11:15 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 01:39:58 +0000 (17:39 -0800)
commit28a0585699987e313bbd947b6338138b29c5a4d0
tree1592e7220e3be082b1fdc2b030db66a65c976f20
parentfd952b0f72b870e9983360f716fb66aabd1dee84
net: ipa: a few simple renames

The return value of gsi_command() is true if successful or false if
we time out waiting for a completion interrupt.

Rename the variables in the three callers of gsi_command() to be
"timeout", to make it more obvious that's the only reason for
failure.

In addition, add a "gsi_" prefix to evt_ring_command() so its name
is consistent with the convention used for GSI channel and generic
commands.

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