]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fd6eae9fded16edd769c5c096f5ea45e6715a13
treed363851e7b144a8a7d25b766bc2a7c530548aa86
parent0b06c8e3d3fad3e3fa7ec1d64e15f4b030bf6ce2
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