diff options
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 969de2a2d633..b4cad9f45862 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -3340,8 +3340,10 @@ static int ohci1394_pci_suspend(struct pci_dev *pdev, pm_message_t state) | |||
3340 | if (machine_is(powermac)) { | 3340 | if (machine_is(powermac)) { |
3341 | struct device_node *ofn = pci_device_to_OF_node(pdev); | 3341 | struct device_node *ofn = pci_device_to_OF_node(pdev); |
3342 | 3342 | ||
3343 | if (ofn) | 3343 | if (ofn) { |
3344 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); | 3344 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); |
3345 | pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 0); | ||
3346 | } | ||
3345 | } | 3347 | } |
3346 | #endif /* CONFIG_PPC_PMAC */ | 3348 | #endif /* CONFIG_PPC_PMAC */ |
3347 | 3349 | ||
@@ -3365,8 +3367,10 @@ static int ohci1394_pci_resume(struct pci_dev *pdev) | |||
3365 | if (machine_is(powermac)) { | 3367 | if (machine_is(powermac)) { |
3366 | struct device_node *ofn = pci_device_to_OF_node(pdev); | 3368 | struct device_node *ofn = pci_device_to_OF_node(pdev); |
3367 | 3369 | ||
3368 | if (ofn) | 3370 | if (ofn) { |
3371 | pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 1); | ||
3369 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); | 3372 | pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); |
3373 | } | ||
3370 | } | 3374 | } |
3371 | #endif /* CONFIG_PPC_PMAC */ | 3375 | #endif /* CONFIG_PPC_PMAC */ |
3372 | 3376 | ||