net: ipa: use IDs exclusively for last transaction
authorAlex Elder <elder@linaro.org>
Fri, 2 Sep 2022 21:02:15 +0000 (16:02 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 11:47:01 +0000 (12:47 +0100)
commit897c0ce665d619227e19f59934115c1b7719621f
treef3f4d1380499d0c5fbbc951c0d3fd0217b39ac59
parentc30623ea0b3a9d766f34f75a326b8c610ca3105e
net: ipa: use IDs exclusively for last transaction

Always use transaction IDs when finding the "last" transaction to
await when quiescing a channel.  This basically extends what was
done in the previous patch to all other transaction state IDs.

As a result we are no longer updating any transaction lists inside
gsi_channel_trans_last(), so there's no need to take the spinlock.

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