diff options
-rw-r--r-- | drivers/usb/host/ohci-s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c index e9401662503c..3d9bcf78a9a4 100644 --- a/drivers/usb/host/ohci-s3c2410.c +++ b/drivers/usb/host/ohci-s3c2410.c | |||
@@ -129,7 +129,7 @@ static void s3c2410_usb_set_power(struct s3c2410_hcd_info *info, | |||
129 | 129 | ||
130 | if (info->power_control != NULL) { | 130 | if (info->power_control != NULL) { |
131 | info->port[port-1].power = to; | 131 | info->port[port-1].power = to; |
132 | (info->power_control)(port, to); | 132 | (info->power_control)(port-1, to); |
133 | } | 133 | } |
134 | } | 134 | } |
135 | 135 | ||
@@ -339,8 +339,8 @@ int usb_hcd_s3c2410_probe (const struct hc_driver *driver, | |||
339 | struct usb_hcd *hcd = NULL; | 339 | struct usb_hcd *hcd = NULL; |
340 | int retval; | 340 | int retval; |
341 | 341 | ||
342 | s3c2410_usb_set_power(dev->dev.platform_data, 0, 1); | ||
343 | s3c2410_usb_set_power(dev->dev.platform_data, 1, 1); | 342 | s3c2410_usb_set_power(dev->dev.platform_data, 1, 1); |
343 | s3c2410_usb_set_power(dev->dev.platform_data, 2, 1); | ||
344 | 344 | ||
345 | hcd = usb_create_hcd(driver, &dev->dev, "s3c24xx"); | 345 | hcd = usb_create_hcd(driver, &dev->dev, "s3c24xx"); |
346 | if (hcd == NULL) | 346 | if (hcd == NULL) |