]> 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)
commitc9b72cd3e68b39b498813fa56979c6d5a1fb5baa
tree3a77345bde0917bed762389d9bd76f4657d78d76
parentbbf099e1dab0fae363fae0baf9398f7ca7512501
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