summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb-new/musb_uboot.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-04-27 14:54:47 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-04 16:51:55 +0200
commit7b798658b289aa4466d974320e2b69f4287216f7 (patch)
treea59e89a14b9418533ed1acea74b50a608b0abd08 /drivers/usb/musb-new/musb_uboot.c
parenta781c97aaa1712449968d41ae30dc673877058ab (diff)
downloadtalos-obmc-uboot-7b798658b289aa4466d974320e2b69f4287216f7.tar.gz
talos-obmc-uboot-7b798658b289aa4466d974320e2b69f4287216f7.zip
sunxi: usb: Rename sunxi_usbc_foo functions to sunxi_usb_phy_bar
Rename the sunxi_usbc_foo functions to sunxi_usb_phy_bar to make it clear that these are usb-phy functions. Also change the verbs & nouns in the suffix to match the verbs & nouns used in the Linux kernels generic phy framework. This patch purely renames things, it contains no functional changes. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/usb/musb-new/musb_uboot.c')
-rw-r--r--drivers/usb/musb-new/musb_uboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c
index 7d90ebc1f5..4d0213a52b 100644
--- a/drivers/usb/musb-new/musb_uboot.c
+++ b/drivers/usb/musb-new/musb_uboot.c
@@ -195,12 +195,12 @@ int usb_reset_root_port(void)
* when clearing reset on low-speed devices, temporary disable
* squelch detection to work around this.
*/
- sunxi_usbc_enable_squelch_detect(0, 0);
+ sunxi_usb_phy_enable_squelch_detect(0, 0);
#endif
power = musb_readb(mbase, MUSB_POWER);
musb_writeb(mbase, MUSB_POWER, ~MUSB_POWER_RESET & power);
#ifdef CONFIG_ARCH_SUNXI
- sunxi_usbc_enable_squelch_detect(0, 1);
+ sunxi_usb_phy_enable_squelch_detect(0, 1);
#endif
host->isr(0, host);
host_speed = (musb_readb(mbase, MUSB_POWER) & MUSB_POWER_HSMODE) ?
OpenPOWER on IntegriCloud