summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_modem.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-07-27 16:19:30 -0500
committerDavid S. Miller <davem@davemloft.net>2021-07-28 00:06:27 +0100
commitcf8dfe6ab8e7854905b13e7f46d39a2aba687825 (patch)
tree6b6e9cb4c9003227534060164e5fb55b851e17b1 /drivers/net/ipa/ipa_modem.c
parent923a6b698447f4f7872daee47accbab78135ff51 (diff)
net: ipa: get another clock for ipa_setup()
Two places call ipa_setup(). The first, ipa_probe(), holds an IPA clock reference when calling ipa_setup() (if the AP is responsible for IPA firmware loading). But if the modem is loading IPA firmware, ipa_smp2p_modem_setup_ready_isr() calls ipa_setup() after the modem has signaled the hardware is ready. This can happen at any time, and there is no guarantee the hardware is active. Have ipa_smp2p_modem_setup() take an IPA clock reference before it calls ipa_setup(), and release it once setup is complete. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_modem.c')
0 files changed, 0 insertions, 0 deletions