]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc521f2e59bd27b2011a3d6f8485707750757c6ca
tree54acb24ac43e8910ed11224e0a30b5cd212ffb4a
parent12a19d7dc3c21f0f8ee924835f054685422c0550
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