Ver Fonte

msm: ipa3: Fix to use paired PM operation for IPA

Becauase of using wrong pair of PM operation device
was not resuming if suspend fails. Adding changes to
use correct set of PM operations.

Change-Id: Ib9fdea8f93f0a6dafbd5908dc8fc2bbf4f1e0904
Signed-off-by: Ashok Vuyyuru <[email protected]>
Ashok Vuyyuru há 5 anos atrás
pai
commit
7aa33aede2
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

+ 2 - 2
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

@@ -2798,8 +2798,8 @@ static const struct of_device_id rmnet_ipa_dt_match[] = {
 MODULE_DEVICE_TABLE(of, rmnet_ipa_dt_match);
 
 static const struct dev_pm_ops rmnet_ipa_pm_ops = {
-	.suspend_noirq = rmnet_ipa_ap_suspend,
-	.resume_noirq = rmnet_ipa_ap_resume,
+	.suspend_late = rmnet_ipa_ap_suspend,
+	.resume_early = rmnet_ipa_ap_resume,
 };
 
 static struct platform_driver rmnet_ipa_driver = {