net: ipa: don't assume one channel per event ring
authorAlex Elder <elder@linaro.org>
Wed, 15 Jun 2022 16:59:25 +0000 (11:59 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 Jun 2022 03:44:03 +0000 (20:44 -0700)
commitdd5a046cbbedbe9198bc9070516313a5f6002b8c
treeb50f6a5ecb2460f36f5136884be94b17ce99e0f5
parent6c0d09d9374c025f503d33bcef5f656e3f1dd349
net: ipa: don't assume one channel per event ring

In gsi_evt_ring_rx_update(), use gsi_event_trans() repeatedly
to find the transaction associated with an event, rather than
assuming consecutive events are associated with the same channel.
This removes the only caller of gsi_trans_pool_next(), so get rid
of it.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c
drivers/net/ipa/gsi_private.h
drivers/net/ipa/gsi_trans.c