|
@@ -717,14 +717,14 @@ static int usbhs_enable(struct device *dev)
|
|
|
gpio_request(pdata->ehci_data->reset_gpio_port[0],
|
|
|
"USB1 PHY reset");
|
|
|
gpio_direction_output
|
|
|
- (pdata->ehci_data->reset_gpio_port[0], 1);
|
|
|
+ (pdata->ehci_data->reset_gpio_port[0], 0);
|
|
|
}
|
|
|
|
|
|
if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[1])) {
|
|
|
gpio_request(pdata->ehci_data->reset_gpio_port[1],
|
|
|
"USB2 PHY reset");
|
|
|
gpio_direction_output
|
|
|
- (pdata->ehci_data->reset_gpio_port[1], 1);
|
|
|
+ (pdata->ehci_data->reset_gpio_port[1], 0);
|
|
|
}
|
|
|
|
|
|
/* Hold the PHY in RESET for enough time till DIR is high */
|
|
@@ -904,11 +904,11 @@ static int usbhs_enable(struct device *dev)
|
|
|
|
|
|
if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[0]))
|
|
|
gpio_set_value
|
|
|
- (pdata->ehci_data->reset_gpio_port[0], 0);
|
|
|
+ (pdata->ehci_data->reset_gpio_port[0], 1);
|
|
|
|
|
|
if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[1]))
|
|
|
gpio_set_value
|
|
|
- (pdata->ehci_data->reset_gpio_port[1], 0);
|
|
|
+ (pdata->ehci_data->reset_gpio_port[1], 1);
|
|
|
}
|
|
|
|
|
|
end_count:
|