]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: encapsulate decision about firmware load
authorAlex Elder <elder@linaro.org>
Wed, 16 Nov 2022 07:32:53 +0000 (01:32 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Nov 2022 05:46:54 +0000 (21:46 -0800)
commit50f803d4aa7173d05a8d5106704dd1b2c68a4cb4
tree86c047af2fdf0920aa8988dd6020dd0b7a784e0c
parent4ca0c6474f71cb136acf103aa963715e1bd2939a
net: ipa: encapsulate decision about firmware load

The GSI layer used for IPA requires firmware to be loaded.

Currently either the AP or the modem loads the firmware,
distinguished by whether the "modem-init" Device Tree
property is defined.

Some newer systems implement a third option.  In preparation for
that, encapsulate the code that determines how the GSI firmware
gets loaded in a new function, ipa_firmware_loader().

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