msm: ipa3: Cleanup unused deepsleep API's
Deepsleep & hibernate entry/exit SSR API's are same as regular SSR usecases. Clean up the unused deepsleep API's. Change-Id: I82745f13b679c473184a31c561a12c56a54b08ca Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
This commit is contained in:
parent
605f49f27d
commit
b23ae7f5e4
@ -3959,9 +3959,6 @@ static int ipa3_lcl_mdm_ssr_notifier_cb(struct notifier_block *this,
|
||||
}
|
||||
|
||||
switch (code) {
|
||||
#if IS_ENABLED(CONFIG_DEEPSLEEP)
|
||||
case SUBSYS_BEFORE_DS_ENTRY:
|
||||
#endif
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0))
|
||||
case QCOM_SSR_BEFORE_SHUTDOWN:
|
||||
#else
|
||||
@ -3990,17 +3987,6 @@ static int ipa3_lcl_mdm_ssr_notifier_cb(struct notifier_block *this,
|
||||
ipa3_odl_pipe_cleanup_from_ssr();
|
||||
IPAWANINFO("IPA BEFORE_SHUTDOWN handling is complete\n");
|
||||
break;
|
||||
#if IS_ENABLED(CONFIG_DEEPSLEEP)
|
||||
case SUBSYS_AFTER_DS_ENTRY:
|
||||
IPAWANINFO("IPA Received AFTER DEEPSLEEP ENTRY\n");
|
||||
if (atomic_read(&rmnet_ipa3_ctx->is_ssr) &&
|
||||
ipa3_ctx_get_type(IPA_HW_TYPE) < IPA_HW_v4_0)
|
||||
ipa3_q6_post_shutdown_cleanup();
|
||||
|
||||
IPAWANINFO("AFTER DEEPSLEEP ENTRY handling is complete\n");
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0))
|
||||
case QCOM_SSR_AFTER_SHUTDOWN:
|
||||
#else
|
||||
@ -4027,21 +4013,6 @@ static int ipa3_lcl_mdm_ssr_notifier_cb(struct notifier_block *this,
|
||||
ipa3_client_prod_post_shutdown_cleanup();
|
||||
IPAWANINFO("IPA AFTER_SHUTDOWN handling is complete\n");
|
||||
break;
|
||||
#if IS_ENABLED(CONFIG_DEEPSLEEP)
|
||||
case SUBSYS_BEFORE_DS_EXIT:
|
||||
IPAWANINFO("IPA received BEFORE DEEPSLEEP EXIT\n");
|
||||
if (atomic_read(&rmnet_ipa3_ctx->is_ssr)) {
|
||||
/* clean up cached QMI msg/handlers */
|
||||
ipa3_qmi_service_exit();
|
||||
ipa3_q6_pre_powerup_cleanup();
|
||||
}
|
||||
/* hold a proxy vote for the modem. */
|
||||
ipa3_proxy_clk_vote(atomic_read(&rmnet_ipa3_ctx->is_ssr));
|
||||
ipa3_reset_freeze_vote();
|
||||
IPAWANINFO("BEFORE DEEPSLEEP EXIT handling is complete\n");
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0))
|
||||
case QCOM_SSR_BEFORE_POWERUP:
|
||||
#else
|
||||
@ -4058,9 +4029,6 @@ static int ipa3_lcl_mdm_ssr_notifier_cb(struct notifier_block *this,
|
||||
ipa3_reset_freeze_vote();
|
||||
IPAWANINFO("IPA BEFORE_POWERUP handling is complete\n");
|
||||
break;
|
||||
#if IS_ENABLED(CONFIG_DEEPSLEEP)
|
||||
case SUBSYS_AFTER_DS_EXIT:
|
||||
#endif
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0))
|
||||
case QCOM_SSR_AFTER_POWERUP:
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user