diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-02-23 21:20:58 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-03-05 15:40:08 -0500 |
commit | f6a158243e569785a995e2218d9521716cdc9d79 (patch) | |
tree | 06cad61788a56db8e29a98f2007d5b69281989f9 /drivers/usb | |
parent | 0d896538d83642c329658f04d11b407a3cf71f62 (diff) |
usb: phy: mxs: change description of usb device speed
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/phy/phy-mxs-usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index 2411e050351f..1663a6683ec1 100644 --- a/drivers/usb/phy/phy-mxs-usb.c +++ b/drivers/usb/phy/phy-mxs-usb.c | |||
@@ -168,8 +168,8 @@ static int mxs_phy_suspend(struct usb_phy *x, int suspend) | |||
168 | static int mxs_phy_on_connect(struct usb_phy *phy, | 168 | static int mxs_phy_on_connect(struct usb_phy *phy, |
169 | enum usb_device_speed speed) | 169 | enum usb_device_speed speed) |
170 | { | 170 | { |
171 | dev_dbg(phy->dev, "%s speed device has connected\n", | 171 | dev_dbg(phy->dev, "%s device has connected\n", |
172 | (speed == USB_SPEED_HIGH) ? "high" : "non-high"); | 172 | (speed == USB_SPEED_HIGH) ? "HS" : "FS/LS"); |
173 | 173 | ||
174 | if (speed == USB_SPEED_HIGH) | 174 | if (speed == USB_SPEED_HIGH) |
175 | writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, | 175 | writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, |
@@ -181,8 +181,8 @@ static int mxs_phy_on_connect(struct usb_phy *phy, | |||
181 | static int mxs_phy_on_disconnect(struct usb_phy *phy, | 181 | static int mxs_phy_on_disconnect(struct usb_phy *phy, |
182 | enum usb_device_speed speed) | 182 | enum usb_device_speed speed) |
183 | { | 183 | { |
184 | dev_dbg(phy->dev, "%s speed device has disconnected\n", | 184 | dev_dbg(phy->dev, "%s device has disconnected\n", |
185 | (speed == USB_SPEED_HIGH) ? "high" : "non-high"); | 185 | (speed == USB_SPEED_HIGH) ? "HS" : "FS/LS"); |
186 | 186 | ||
187 | if (speed == USB_SPEED_HIGH) | 187 | if (speed == USB_SPEED_HIGH) |
188 | writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, | 188 | writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, |