OSDN Git Service

net: ipa: derive channel from transaction
authorAlex Elder <elder@linaro.org>
Fri, 10 Jun 2022 15:46:15 +0000 (10:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2022 11:01:58 +0000 (12:01 +0100)
commitbcec9ecbaf609a303182618ca0f8201ee90d9333
treefcab8d82c798211f7e731d12fc4b341ff80fcbaf
parent7dd9558feddf9347a2f4b762433f0cc585fe70f1
net: ipa: derive channel from transaction

In gsi_channel_tx_queued(), we report when a transaction gets passed
to hardware.  Change that function so it takes transaction rather
than a channel as its argument, and derive the channel from the
transaction.  Rename the function accordingly.

Delete the header comments above the function definition; the ones
above the declaration in "gsi_private.h" should suffice.  In
addition, the comments above gsi_channel_tx_update() do a fine job
of explaining what's going on.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c
drivers/net/ipa/gsi_private.h
drivers/net/ipa/gsi_trans.c