aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/ohci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index eb7b591e1c1b..3a908038ff62 100644
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -3284,6 +3284,13 @@ static int pci_resume(struct pci_dev *dev)
3284 return err; 3284 return err;
3285 } 3285 }
3286 3286
3287 /* Some systems don't setup GUID register on resume from ram */
3288 if (!reg_read(ohci, OHCI1394_GUIDLo) &&
3289 !reg_read(ohci, OHCI1394_GUIDHi)) {
3290 reg_write(ohci, OHCI1394_GUIDLo, (u32)ohci->card.guid);
3291 reg_write(ohci, OHCI1394_GUIDHi, (u32)(ohci->card.guid >> 32));
3292 }
3293
3287 return ohci_enable(&ohci->card, NULL, 0); 3294 return ohci_enable(&ohci->card, NULL, 0);
3288} 3295}
3289#endif 3296#endif