|
@@ -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,
|
|
static int mxs_phy_on_connect(struct usb_phy *phy,
|
|
enum usb_device_speed speed)
|
|
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)
|
|
if (speed == USB_SPEED_HIGH)
|
|
writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
|
|
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,
|
|
static int mxs_phy_on_disconnect(struct usb_phy *phy,
|
|
enum usb_device_speed speed)
|
|
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)
|
|
if (speed == USB_SPEED_HIGH)
|
|
writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
|
|
writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
|