OSDN Git Service

net: ipa: eliminate legacy arguments
authorAlex Elder <elder@linaro.org>
Mon, 2 Nov 2020 17:54:00 +0000 (11:54 -0600)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Nov 2020 00:28:04 +0000 (16:28 -0800)
commitd387c761fa8c9026cd87b8a56a3150535205be73
treec6647f8a59f6ea5006b37e92127e7932aec62460
parentce54993d01b996cdf09e15882e77bea8c10903ca
net: ipa: eliminate legacy arguments

We enable a channel doorbell engine only for IPA v3.5.1, and that is
now handled directly by gsi_channel_program().

When initially setting up a channel, we want that doorbell engine
enabled, and we can request that independent of the IPA version.

Doing that makes the "legacy" argument to gsi_channel_setup_one()
unnecessary.  And with that gone we can get rid of the "legacy"
argument to gsi_channel_setup(), and gsi_setup() as well.

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.h
drivers/net/ipa/ipa_main.c