diff options
Diffstat (limited to 'drivers/usb/host/ohci-sm501.c')
-rw-r--r-- | drivers/usb/host/ohci-sm501.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-sm501.c b/drivers/usb/host/ohci-sm501.c index 8ffcd3e5f56b..ab1e366d7790 100644 --- a/drivers/usb/host/ohci-sm501.c +++ b/drivers/usb/host/ohci-sm501.c | |||
@@ -224,7 +224,6 @@ static int ohci_sm501_suspend(struct platform_device *pdev, pm_message_t msg) | |||
224 | 224 | ||
225 | sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 0); | 225 | sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 0); |
226 | ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; | 226 | ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; |
227 | dev->power.power_state = PMSG_SUSPEND; | ||
228 | return 0; | 227 | return 0; |
229 | } | 228 | } |
230 | 229 | ||
@@ -238,7 +237,6 @@ static int ohci_sm501_resume(struct platform_device *pdev) | |||
238 | ohci->next_statechange = jiffies; | 237 | ohci->next_statechange = jiffies; |
239 | 238 | ||
240 | sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 1); | 239 | sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 1); |
241 | dev->power.power_state = PMSG_ON; | ||
242 | usb_hcd_resume_root_hub(platform_get_drvdata(pdev)); | 240 | usb_hcd_resume_root_hub(platform_get_drvdata(pdev)); |
243 | return 0; | 241 | return 0; |
244 | } | 242 | } |