Comment 4 for bug 1990700

Revision history for this message
Muralidharan (sethurmu) wrote :

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