diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 95fbaccb03e..da8c93bfb6f 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -978,7 +978,7 @@ static int musb_gadget_enable(struct usb_ep *ep, | |||
978 | ok = musb->hb_iso_rx; | 978 | ok = musb->hb_iso_rx; |
979 | 979 | ||
980 | if (!ok) { | 980 | if (!ok) { |
981 | DBG(4, "%s: not support ISO high bandwidth\n", __func__); | 981 | DBG(4, "no support for high bandwidth ISO\n"); |
982 | goto fail; | 982 | goto fail; |
983 | } | 983 | } |
984 | musb_ep->hb_mult = (tmp >> 11) & 3; | 984 | musb_ep->hb_mult = (tmp >> 11) & 3; |
@@ -1002,7 +1002,7 @@ static int musb_gadget_enable(struct usb_ep *ep, | |||
1002 | goto fail; | 1002 | goto fail; |
1003 | 1003 | ||
1004 | if (tmp > hw_ep->max_packet_sz_tx) { | 1004 | if (tmp > hw_ep->max_packet_sz_tx) { |
1005 | DBG(4, "%s: packet size beyond hw fifo size\n", __func__); | 1005 | DBG(4, "packet size beyond hardware FIFO size\n"); |
1006 | goto fail; | 1006 | goto fail; |
1007 | } | 1007 | } |
1008 | 1008 | ||
@@ -1042,7 +1042,7 @@ static int musb_gadget_enable(struct usb_ep *ep, | |||
1042 | goto fail; | 1042 | goto fail; |
1043 | 1043 | ||
1044 | if (tmp > hw_ep->max_packet_sz_rx) { | 1044 | if (tmp > hw_ep->max_packet_sz_rx) { |
1045 | DBG(4, "%s: packet size beyond hw fifo size\n", __func__); | 1045 | DBG(4, "packet size beyond hardware FIFO size\n"); |
1046 | goto fail; | 1046 | goto fail; |
1047 | } | 1047 | } |
1048 | 1048 | ||
@@ -1815,7 +1815,7 @@ int usb_gadget_probe_driver(struct usb_gadget_driver *driver, | |||
1815 | 1815 | ||
1816 | /* driver must be initialized to support peripheral mode */ | 1816 | /* driver must be initialized to support peripheral mode */ |
1817 | if (!musb) { | 1817 | if (!musb) { |
1818 | DBG(1, "%s, no dev??\n", __func__); | 1818 | DBG(1, "no dev??\n"); |
1819 | retval = -ENODEV; | 1819 | retval = -ENODEV; |
1820 | goto err0; | 1820 | goto err0; |
1821 | } | 1821 | } |