9
0
Fork 0

ARM i.MX6 USB phy: Fix phy function names

The imx6_usb_phy1* functions are misnamed. It's usb phy2 that is configured
here, so rename the functions accordingly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-01-20 11:04:47 +01:00
parent 6f14250038
commit f051557a74
3 changed files with 6 additions and 6 deletions

View File

@ -231,8 +231,8 @@ static struct esdhc_platform_data sabrelite_sd4_data = {
static void sabrelite_ehci_init(void)
{
imx6_usb_phy1_disable_oc();
imx6_usb_phy1_enable();
imx6_usb_phy2_disable_oc();
imx6_usb_phy2_enable();
/* hub reset */
gpio_direction_output(204, 0);

View File

@ -11,7 +11,7 @@
#define MX35_H1_USBTE_BIT (1 << 4)
#define MXC_EHCI_INTERFACE_SINGLE_UNI (2 << 0)
int imx6_usb_phy1_disable_oc(void);
int imx6_usb_phy1_enable(void);
int imx6_usb_phy2_disable_oc(void);
int imx6_usb_phy2_enable(void);
#endif /* __MACH_USB_H_*/

View File

@ -46,7 +46,7 @@
#define USBPHY1_PLL_480_CTRL_EN_USB_CLK (1 << 6)
#define USBPHY1_PLL_480_CTRL_BYPASS (1 << 16)
int imx6_usb_phy1_disable_oc(void)
int imx6_usb_phy2_disable_oc(void)
{
int val;
@ -64,7 +64,7 @@ int imx6_usb_phy1_disable_oc(void)
return 0;
}
int imx6_usb_phy1_enable(void)
int imx6_usb_phy2_enable(void)
{
int val;