usb: phy: mxs: change description of usb device speed
authorPeter Chen <peter.chen@freescale.com>
Mon, 24 Feb 2014 02:20:58 +0000 (10:20 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:08 +0000 (14:40 -0600)
Change "high speed" to "HS"
Change "non-high speed" to "FS/LS"

Implementation of notify_suspend and notify_resume will be different
according to mxs_phy_data->flags.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c

index 2411e050351f568d9b1d6e2a3e0e3439a5c93d17..1663a6683ec17a1e180f4de731cfc29463286db4 100644 (file)
@@ -168,8 +168,8 @@ static int mxs_phy_suspend(struct usb_phy *x, int suspend)
 static int mxs_phy_on_connect(struct usb_phy *phy,
                enum usb_device_speed speed)
 {
-       dev_dbg(phy->dev, "%s speed device has connected\n",
-               (speed == USB_SPEED_HIGH) ? "high" : "non-high");
+       dev_dbg(phy->dev, "%s device has connected\n",
+               (speed == USB_SPEED_HIGH) ? "HS" : "FS/LS");
 
        if (speed == USB_SPEED_HIGH)
                writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
@@ -181,8 +181,8 @@ static int mxs_phy_on_connect(struct usb_phy *phy,
 static int mxs_phy_on_disconnect(struct usb_phy *phy,
                enum usb_device_speed speed)
 {
-       dev_dbg(phy->dev, "%s speed device has disconnected\n",
-               (speed == USB_SPEED_HIGH) ? "high" : "non-high");
+       dev_dbg(phy->dev, "%s device has disconnected\n",
+               (speed == USB_SPEED_HIGH) ? "HS" : "FS/LS");
 
        if (speed == USB_SPEED_HIGH)
                writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,