]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Alchemy: Fix PCI PM
authorManuel Lauss <manuel.lauss@googlemail.com>
Wed, 16 Nov 2011 14:42:28 +0000 (15:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2011 15:18:03 +0000 (15:18 +0000)
commit514c4a5feb4e740794c4a79f5916955953744b55
tree625609dc1f4b278b622ef0641167fef65079fade
parent6aaf05f472c97ebceff47d9eef464574f1a55727
MIPS: Alchemy: Fix PCI PM

Move PCI Controller PM to syscore_ops since the platform_driver PM methods
are called way too late on resume and far too early on suspend (after and
before PCI device resume/suspend).
This also allows to simplify wired entry management a bit.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3007/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-alchemy.c