Hi Vicamo,
We wanted to request you to take this attached patch in the email and let us know if this patch helps in this suspend resume issue.
diff -Naur t7xx/t7xx_pci.c t7xx_new/t7xx_pci.c --- t7xx/t7xx_pci.c 2022-06-27 11:56:21.240049223 +0530 +++ t7xx_new/t7xx_pci.c 2022-06-27 19:20:19.120801177 +0530 @@ -308,13 +308,6 @@ goto abort_suspend; }
- ret = t7xx_send_pm_request(t7xx_dev, H2D_CH_SUSPEND_REQ_AP); - if (ret) { - t7xx_send_pm_request(t7xx_dev, H2D_CH_RESUME_REQ); - dev_err(&pdev->dev, "[PM] SAP suspend error: %d\n", ret); - goto abort_suspend; - } - list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { if (entity->suspend_late) entity->suspend_late(t7xx_dev, entity->entity_param);
Thanks and Best Regards, Murali
Hi Vicamo,
We wanted to request you to take this attached patch in the email and let us know if this patch helps in this suspend resume issue.
diff -Naur t7xx/t7xx_pci.c t7xx_new/t7xx_pci.c
--- t7xx/t7xx_pci.c 2022-06-27 11:56:21.240049223 +0530
+++ t7xx_new/t7xx_pci.c 2022-06-27 19:20:19.120801177 +0530
@@ -308,13 +308,6 @@
goto abort_suspend;
}
- ret = t7xx_send_ pm_request( t7xx_dev, H2D_CH_ SUSPEND_ REQ_AP) ; pm_request( t7xx_dev, H2D_CH_RESUME_REQ); for_each_ entry(entity, &t7xx_dev- >md_pm_ entities, entity) { >suspend_ late) >suspend_ late(t7xx_ dev, entity- >entity_ param);
- if (ret) {
- t7xx_send_
- dev_err(&pdev->dev, "[PM] SAP suspend error: %d\n", ret);
- goto abort_suspend;
- }
-
list_
if (entity-
entity-
Thanks and Best Regards,
Murali