Loading drivers/platform/msm/ipa/ipa_v3/ipa.c +9 −0 Original line number Diff line number Diff line Loading @@ -5956,6 +5956,15 @@ static ssize_t ipa3_write(struct file *file, const char __user *buf, ipa3_ctx->ipa_config_is_mhi ? "" : "non "); } /* Prevent multiple calls from trying to load the FW again. */ if (ipa3_ctx->fw_loaded) { IPAERR("not load FW again\n"); return count; } /* Schedule WQ to load ipa-fws */ ipa3_ctx->fw_loaded = true; queue_work(ipa3_ctx->transport_power_mgmt_wq, &ipa3_fw_loading_work); Loading drivers/platform/msm/ipa/ipa_v3/ipa_i.h +1 −0 Original line number Diff line number Diff line Loading @@ -1837,6 +1837,7 @@ struct ipa3_context { int (*client_lock_unlock[IPA_MAX_CLNT])(bool is_lock); atomic_t is_ssr; bool (*get_teth_port_state[IPA_MAX_CLNT])(void); bool fw_loaded; }; struct ipa3_plat_drv_res { Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa.c +9 −0 Original line number Diff line number Diff line Loading @@ -5956,6 +5956,15 @@ static ssize_t ipa3_write(struct file *file, const char __user *buf, ipa3_ctx->ipa_config_is_mhi ? "" : "non "); } /* Prevent multiple calls from trying to load the FW again. */ if (ipa3_ctx->fw_loaded) { IPAERR("not load FW again\n"); return count; } /* Schedule WQ to load ipa-fws */ ipa3_ctx->fw_loaded = true; queue_work(ipa3_ctx->transport_power_mgmt_wq, &ipa3_fw_loading_work); Loading
drivers/platform/msm/ipa/ipa_v3/ipa_i.h +1 −0 Original line number Diff line number Diff line Loading @@ -1837,6 +1837,7 @@ struct ipa3_context { int (*client_lock_unlock[IPA_MAX_CLNT])(bool is_lock); atomic_t is_ssr; bool (*get_teth_port_state[IPA_MAX_CLNT])(void); bool fw_loaded; }; struct ipa3_plat_drv_res { Loading