]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f9639e14d33588500541bb7029ba5c06f720ae3
treeb50f6a5ecb2460f36f5136884be94b17ce99e0f5
parent8e851388cd7134c70a5cefbc5f519c018a1137d3
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