MIPS: Alchemy: devboard PM needs to save CPLD registers.
authorManuel Lauss <manuel.lauss@googlemail.com>
Tue, 23 Feb 2010 17:57:43 +0000 (18:57 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:41 +0000 (12:53 +0100)
commite275ed5ee94b358964a0dae1c8b49f0bff260b60
tree3459082d9ba20771210dd38f3d62b99e5ff6cbbb
parent81fc0179541dd52763cf62a52f0c09a05bcc6439
MIPS: Alchemy: devboard PM needs to save CPLD registers.

Save/restore CPLD registers when doing suspend-to-ram; this fixes issues
with harddisk and ethernet not working correctly when resuming on DB1200.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/986/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/devboards/pm.c