]> 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, 24 Nov 2011 10:41:40 +0000 (10:41 +0000)
commitb16f9c1f71a3a41f258f6a1953ad3ab219bccbd9
tree0ffccdfd7c8f4ba111fd3b38ba7c25159a2f373c
parentcaca6a03d365883564885f2c1da3e88dcf65d139
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