diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/fw-ohci.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 5da7c6715e1e..312182d6d970 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c | |||
@@ -2251,8 +2251,10 @@ static int pci_suspend(struct pci_dev *pdev, pm_message_t state) | |||
2251 | if (machine_is(powermac)) { | 2251 | if (machine_is(powermac)) { |
2252 | struct device_node *ofn = pci_device_to_OF_node(pdev); | 2252 | struct device_node *ofn = pci_device_to_OF_node(pdev); |
2253 | 2253 | ||
2254 | if (ofn) | 2254 | if (ofn) { |
2255 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); | 2255 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); |
2256 | pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 0); | ||
2257 | } | ||
2256 | } | 2258 | } |
2257 | #endif /* CONFIG_PPC_PMAC */ | 2259 | #endif /* CONFIG_PPC_PMAC */ |
2258 | 2260 | ||
@@ -2269,8 +2271,10 @@ static int pci_resume(struct pci_dev *pdev) | |||
2269 | if (machine_is(powermac)) { | 2271 | if (machine_is(powermac)) { |
2270 | struct device_node *ofn = pci_device_to_OF_node(pdev); | 2272 | struct device_node *ofn = pci_device_to_OF_node(pdev); |
2271 | 2273 | ||
2272 | if (ofn) | 2274 | if (ofn) { |
2275 | pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 1); | ||
2273 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); | 2276 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); |
2277 | } | ||
2274 | } | 2278 | } |
2275 | #endif /* CONFIG_PPC_PMAC */ | 2279 | #endif /* CONFIG_PPC_PMAC */ |
2276 | 2280 | ||