OSDN Git Service

net: ipa: use version in gsi_channel_init()
authorAlex Elder <elder@linaro.org>
Mon, 2 Nov 2020 17:53:57 +0000 (11:53 -0600)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Nov 2020 00:28:04 +0000 (16:28 -0800)
commit56dfe8dedff977e5c20fbe7ace5e5f9ddef4b4ec
tree54acb24ac43e8910ed11224e0a30b5cd212ffb4a
parent14dbf977dd45115a13a64ab480886598ee0ba755
net: ipa: use version in gsi_channel_init()

A quirk of IPA v4.2 requires the AP to allocate the GSI channels
that are owned by the modem.

Rather than pass a flag argument to gsi_channel_init(), use the
IPA version directly in that function to determine whether modem
channels need to be allocated.

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