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>
Wed, 7 Dec 2011 22:01:45 +0000 (22:01 +0000)
commit864c6c22e9a5742b0f43c983b6c405d52817bacd
tree694bf23de85eb7f93d45017b6f155e211368f749
parent5611cc4572e889b62a7b4c72a413536bf6a9c416
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