diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2014-04-15 03:43:18 -0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-22 19:08:14 -0400 |
commit | dd41d514360430c506ce8cc3f5560ad3fb9e4c82 (patch) | |
tree | 8b6450f8d35975cc21bb22352d5b76996dce8b4b /arch/powerpc/sysdev | |
parent | 1c075f95504b77e80d6e491fef8f89a001164ded (diff) |
fsl/pci: fix RC cannot detect PME message coming
PCI controller disable PME message report feature, that shouldn't
have happened. Fix it and enable PME message report feature.
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 3f415e252ea5..4bd091a05583 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -1150,8 +1150,7 @@ static int fsl_pci_pme_probe(struct pci_controller *hose) | |||
1150 | pci = hose->private_data; | 1150 | pci = hose->private_data; |
1151 | 1151 | ||
1152 | /* Enable PTOD, ENL23D & EXL23D */ | 1152 | /* Enable PTOD, ENL23D & EXL23D */ |
1153 | out_be32(&pci->pex_pme_mes_disr, 0); | 1153 | clrbits32(&pci->pex_pme_mes_disr, |
1154 | setbits32(&pci->pex_pme_mes_disr, | ||
1155 | PME_DISR_EN_PTOD | PME_DISR_EN_ENL23D | PME_DISR_EN_EXL23D); | 1154 | PME_DISR_EN_PTOD | PME_DISR_EN_ENL23D | PME_DISR_EN_EXL23D); |
1156 | 1155 | ||
1157 | out_be32(&pci->pex_pme_mes_ier, 0); | 1156 | out_be32(&pci->pex_pme_mes_ier, 0); |