]> 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)
commit00c942e0e885497120d72122b62600e0c12a0704
tree1592e7220e3be082b1fdc2b030db66a65c976f20
parent45e2479b7e4e44eb36d5b2196ffa3fa9f66c92b8
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