diff options
| author | Komal Seelam <kseelam@qti.qualcomm.com> | 2014-05-26 19:35:29 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-05-27 17:05:01 -0700 |
| commit | f7af8c195e86d18a909b107bd9b39b079f6287c9 (patch) | |
| tree | ad7d20b6f949435cb5107f373d74a08e8d2eebfc | |
| parent | 445a982d533de5bc9772b26b69962cfe743763df (diff) | |
qcacld: Read the Rome Power State
Print the Rome Power State in hif_pci_resume for better debugging.
Increase the WMA_RESUME_TIMEOUT to 3sec
CRs-Fixed: 670914
Change-Id: Ie86e1a09ff2019f885b30202586daec47098e1c0
| -rw-r--r-- | CORE/SERVICES/HIF/PCIe/if_pci.c | 2 | ||||
| -rw-r--r-- | CORE/SERVICES/WMA/wma.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CORE/SERVICES/HIF/PCIe/if_pci.c b/CORE/SERVICES/HIF/PCIe/if_pci.c index 74a0c93ab6c3..1eaafd7a8fd2 100644 --- a/CORE/SERVICES/HIF/PCIe/if_pci.c +++ b/CORE/SERVICES/HIF/PCIe/if_pci.c @@ -1801,6 +1801,8 @@ hif_pci_resume(struct pci_dev *pdev) pci_write_config_dword(pdev, 0x40, val & 0xffff00ff); } + printk("\n%s: Rome PS: %d", __func__, val); + #ifdef DISABLE_L1SS_STATES pci_read_config_dword(pdev, 0x188, &val); pci_write_config_dword(pdev, 0x188, (val & ~0x0000000f)); diff --git a/CORE/SERVICES/WMA/wma.h b/CORE/SERVICES/WMA/wma.h index b0464f300880..a6b3767a1087 100644 --- a/CORE/SERVICES/WMA/wma.h +++ b/CORE/SERVICES/WMA/wma.h @@ -80,7 +80,7 @@ #define WMA_TGT_SUSPEND_COMPLETE_TIMEOUT 1000 #define WMA_WAKE_LOCK_TIMEOUT 1000 #define WMA_MAX_RESUME_RETRY 10 -#define WMA_RESUME_TIMEOUT 1000 +#define WMA_RESUME_TIMEOUT 3000 #define MAX_MEM_CHUNKS 32 /* In prima 12 HW stations are supported including BCAST STA(staId 0) |
