summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorWang Dongsheng2014-04-15 09:43:18 +0200
committerScott Wood2014-05-23 01:08:14 +0200
commitdd41d514360430c506ce8cc3f5560ad3fb9e4c82 (patch)
tree8b6450f8d35975cc21bb22352d5b76996dce8b4b /arch/powerpc/sysdev
parentpowerpc/rmu: Fix the error memory free parameters (diff)
downloadkernel-qcow2-linux-dd41d514360430c506ce8cc3f5560ad3fb9e4c82.tar.gz
kernel-qcow2-linux-dd41d514360430c506ce8cc3f5560ad3fb9e4c82.tar.xz
kernel-qcow2-linux-dd41d514360430c506ce8cc3f5560ad3fb9e4c82.zip
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.c3
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)
pci = hose->private_data;
/* Enable PTOD, ENL23D & EXL23D */
- out_be32(&pci->pex_pme_mes_disr, 0);
- setbits32(&pci->pex_pme_mes_disr,
+ clrbits32(&pci->pex_pme_mes_disr,
PME_DISR_EN_PTOD | PME_DISR_EN_ENL23D | PME_DISR_EN_EXL23D);
out_be32(&pci->pex_pme_mes_ier, 0);