]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: use IDs for last allocated transaction
authorAlex Elder <elder@linaro.org>
Fri, 2 Sep 2022 21:02:14 +0000 (16:02 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 11:47:01 +0000 (12:47 +0100)
commit0dde4049580882f6cf23a47f04333fbd6196f2f5
tree3a77345bde0917bed762389d9bd76f4657d78d76
parente1059c33cb10e2ca801d463aef9af9bbd5d5c1eb
net: ipa: use IDs for last allocated transaction

Use the allocated and free transaction IDs to determine whether the
"last" transaction used for quiescing a channel is in allocated
state.  The last allocated transaction that has not been committed
(if any) immediately precedes the first free transaction in the
transaction array.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c