cnss: comment cnss_msm_pcie_pm_control at GreenHills platform
It doesn't support virtualized clock currently, so we cannot disable/enable clock while do PCIE link suspend/resume from Linux side at Greenhills platform, so comment the API cnss_msm_pcie_pm_control to prevent doing PCIE link suspend/resume. Change-Id: Ie10d781042ff3e85b3206fd300e9ec3f71897479 Signed-off-by: Chaoli Zhou <zchaoli@codeaurora.org>
This commit is contained in:
parent
595eeed398
commit
bfd8e4b850
1 changed files with 9 additions and 1 deletions
|
@ -1526,13 +1526,21 @@ struct pci_saved_state *cnss_pci_store_saved_state(struct pci_dev *dev)
|
|||
return pci_store_saved_state(dev);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_GHS_VMM
|
||||
int cnss_msm_pcie_pm_control(
|
||||
enum msm_pcie_pm_opt pm_opt, u32 bus_num,
|
||||
struct pci_dev *pdev, u32 options)
|
||||
{
|
||||
return msm_pcie_pm_control(pm_opt, bus_num, pdev, NULL, options);
|
||||
}
|
||||
|
||||
#else
|
||||
int cnss_msm_pcie_pm_control(
|
||||
enum msm_pcie_pm_opt pm_opt, u32 bus_num,
|
||||
struct pci_dev *pdev, u32 options)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
int cnss_pci_load_and_free_saved_state(
|
||||
struct pci_dev *dev, struct pci_saved_state **state)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue