diff options
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r-- | drivers/usb/gadget/omap_udc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 4b79a8509e84..395bd1844482 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -1120,7 +1120,7 @@ static int omap_ep_set_halt(struct usb_ep *_ep, int value) | |||
1120 | status = -EINVAL; | 1120 | status = -EINVAL; |
1121 | else if (value) { | 1121 | else if (value) { |
1122 | if (ep->udc->ep0_set_config) { | 1122 | if (ep->udc->ep0_set_config) { |
1123 | WARN("error changing config?\n"); | 1123 | WARNING("error changing config?\n"); |
1124 | omap_writew(UDC_CLR_CFG, UDC_SYSCON2); | 1124 | omap_writew(UDC_CLR_CFG, UDC_SYSCON2); |
1125 | } | 1125 | } |
1126 | omap_writew(UDC_STALL_CMD, UDC_SYSCON2); | 1126 | omap_writew(UDC_STALL_CMD, UDC_SYSCON2); |
@@ -1764,7 +1764,7 @@ do_stall: | |||
1764 | u.r.bRequestType, u.r.bRequest, status); | 1764 | u.r.bRequestType, u.r.bRequest, status); |
1765 | if (udc->ep0_set_config) { | 1765 | if (udc->ep0_set_config) { |
1766 | if (udc->ep0_reset_config) | 1766 | if (udc->ep0_reset_config) |
1767 | WARN("error resetting config?\n"); | 1767 | WARNING("error resetting config?\n"); |
1768 | else | 1768 | else |
1769 | omap_writew(UDC_CLR_CFG, UDC_SYSCON2); | 1769 | omap_writew(UDC_CLR_CFG, UDC_SYSCON2); |
1770 | } | 1770 | } |
@@ -3076,7 +3076,7 @@ static int omap_udc_suspend(struct platform_device *dev, pm_message_t message) | |||
3076 | * which would prevent entry to deep sleep... | 3076 | * which would prevent entry to deep sleep... |
3077 | */ | 3077 | */ |
3078 | if ((devstat & UDC_ATT) != 0 && (devstat & UDC_SUS) == 0) { | 3078 | if ((devstat & UDC_ATT) != 0 && (devstat & UDC_SUS) == 0) { |
3079 | WARN("session active; suspend requires disconnect\n"); | 3079 | WARNING("session active; suspend requires disconnect\n"); |
3080 | omap_pullup(&udc->gadget, 0); | 3080 | omap_pullup(&udc->gadget, 0); |
3081 | } | 3081 | } |
3082 | 3082 | ||