Patchwork powerpc: Fix the ide suspend function in uli1575

login
register
mail settings
Submitter Kumar Gala
Date Dec. 4, 2008, 9:34 p.m.
Message ID <1228426487-7607-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/12320/
State Accepted
Commit 1433fa7d8da608f59df1f6f381da00958bf5a0b7
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - Dec. 4, 2008, 9:34 p.m.
From: Jason Jin <Jason.jin@freescale.com>

The general pci resume code can only restore part of the
configuration registers. We need to reconfigure those
registers in the FIXUP_RESUME.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/platforms/fsl_uli1575.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Kumar Gala - Jan. 6, 2009, 3:49 p.m.
On Dec 4, 2008, at 3:34 PM, Kumar Gala wrote:

> From: Jason Jin <Jason.jin@freescale.com>
>
> The general pci resume code can only restore part of the
> configuration registers. We need to reconfigure those
> registers in the FIXUP_RESUME.
>
> Signed-off-by: Jason Jin <Jason.jin@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> arch/powerpc/platforms/fsl_uli1575.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

applied

- k

Patch

diff --git a/arch/powerpc/platforms/fsl_uli1575.c b/arch/powerpc/platforms/fsl_uli1575.c
index 8c61996..1db6b9e 100644
--- a/arch/powerpc/platforms/fsl_uli1575.c
+++ b/arch/powerpc/platforms/fsl_uli1575.c
@@ -249,6 +249,7 @@  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AL, 0x5288, quirk_uli5288);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AL, 0x5229, quirk_uli5229);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, 0x5249, quirk_final_uli5249);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, 0x1575, quirk_final_uli1575);
+DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_AL, 0x5229, quirk_uli5229);
 
 static void __devinit hpcd_quirk_uli1575(struct pci_dev *dev)
 {