OSDN Git Service

cnss: Enable cnss_msm_pcie_pm_control
authordonglian <dongliang.yao@codeaurora.org>
Thu, 14 Mar 2019 09:09:54 +0000 (17:09 +0800)
committerdonglian <dongliang.yao@codeaurora.org>
Wed, 20 Mar 2019 04:56:50 +0000 (12:56 +0800)
commit7ca55cc70040ee5a07bd5839383c4972c7ff303e
treec8291beb7dd6c2da26e33cce2f084a06198d6971
parenta8e7641c229231aa3e6014aabb150b17276c2c32
cnss: Enable cnss_msm_pcie_pm_control

In order to support WLAN SSR in GVM, we need to enable
PCIe suspend/resume. PCIe suspend/resume requires ldo
reset. GVM has no direct control to PCIe ldos,instead,
they are managed in ghs hypervisor. During WLAN SSR,
GVM will send out power messages to ghs via subsystem
SSR framework which will reset WLAN/PCIe ldos accordingly.

Suspend/resume set is skipped during registration/
un-registration because GVM is not able to inform ghs
to do ldo operations in such scenarios. And if PCIe link is
suspended upon registration, it can resume no more.

Change-Id: I11b44e684a560ca2585ede7e0cee27caccd1074f
CRs-Fixed: 2411088
Signed-off-by: Dongliang Yao <dongliang.yao@codeaurora.org>
drivers/net/wireless/cnss/cnss_pci.c