]> 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)
commitbb0c8ac47232ddd6a19fc8b2dcd781ffee89de70
treed363851e7b144a8a7d25b766bc2a7c530548aa86
parent1f9639e14d33588500541bb7029ba5c06f720ae3
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