net: ipa: don't pass channel when mapping transaction
authorAlex Elder <elder@linaro.org>
Wed, 15 Jun 2022 16:59:26 +0000 (11:59 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 Jun 2022 03:44:03 +0000 (20:44 -0700)
commit8eec783195859e257164b81299bed1ab723b6c25
treed363851e7b144a8a7d25b766bc2a7c530548aa86
parentdd5a046cbbedbe9198bc9070516313a5f6002b8c
net: ipa: don't pass channel when mapping transaction

Change gsi_channel_trans_map() so it derives the channel used from
the transaction.  Pass the index of the *first* TRE used by the
transaction, and have the called function account for the fact that
the last one used is what's important.

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