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:
parent
6f14250038
commit
f051557a74
|
@ -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);
|
||||
|
|
|
@ -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_*/
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue