diff options
Diffstat (limited to 'drivers/usb/host/ehci-s5p.c')
-rw-r--r-- | drivers/usb/host/ehci-s5p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 9e77f1c8bdbd..024b65c4990d 100644 --- a/drivers/usb/host/ehci-s5p.c +++ b/drivers/usb/host/ehci-s5p.c | |||
@@ -136,7 +136,7 @@ static int __devinit s5p_ehci_probe(struct platform_device *pdev) | |||
136 | /* cache this readonly data; minimize chip reads */ | 136 | /* cache this readonly data; minimize chip reads */ |
137 | ehci->hcs_params = readl(&ehci->caps->hcs_params); | 137 | ehci->hcs_params = readl(&ehci->caps->hcs_params); |
138 | 138 | ||
139 | err = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED); | 139 | err = usb_add_hcd(hcd, irq, IRQF_SHARED); |
140 | if (err) { | 140 | if (err) { |
141 | dev_err(&pdev->dev, "Failed to add USB HCD\n"); | 141 | dev_err(&pdev->dev, "Failed to add USB HCD\n"); |
142 | goto fail; | 142 | goto fail; |
@@ -270,7 +270,7 @@ static int s5p_ehci_resume(struct device *dev) | |||
270 | /* here we "know" root ports should always stay powered */ | 270 | /* here we "know" root ports should always stay powered */ |
271 | ehci_port_power(ehci, 1); | 271 | ehci_port_power(ehci, 1); |
272 | 272 | ||
273 | hcd->state = HC_STATE_SUSPENDED; | 273 | ehci->rh_state = EHCI_RH_SUSPENDED; |
274 | 274 | ||
275 | return 0; | 275 | return 0; |
276 | } | 276 | } |