diff options
Diffstat (limited to 'drivers/usb/gadget/file_storage.c')
-rw-r--r-- | drivers/usb/gadget/file_storage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c index 0a726e106ccd..bf3f946fd455 100644 --- a/drivers/usb/gadget/file_storage.c +++ b/drivers/usb/gadget/file_storage.c | |||
@@ -1104,7 +1104,7 @@ static void ep0_complete(struct usb_ep *ep, struct usb_request *req) | |||
1104 | if (req->actual > 0) | 1104 | if (req->actual > 0) |
1105 | dump_msg(fsg, fsg->ep0req_name, req->buf, req->actual); | 1105 | dump_msg(fsg, fsg->ep0req_name, req->buf, req->actual); |
1106 | if (req->status || req->actual != req->length) | 1106 | if (req->status || req->actual != req->length) |
1107 | DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__, | 1107 | DBG(fsg, "%s --> %d, %u/%u\n", __func__, |
1108 | req->status, req->actual, req->length); | 1108 | req->status, req->actual, req->length); |
1109 | if (req->status == -ECONNRESET) // Request was cancelled | 1109 | if (req->status == -ECONNRESET) // Request was cancelled |
1110 | usb_ep_fifo_flush(ep); | 1110 | usb_ep_fifo_flush(ep); |
@@ -1125,7 +1125,7 @@ static void bulk_in_complete(struct usb_ep *ep, struct usb_request *req) | |||
1125 | struct fsg_buffhd *bh = req->context; | 1125 | struct fsg_buffhd *bh = req->context; |
1126 | 1126 | ||
1127 | if (req->status || req->actual != req->length) | 1127 | if (req->status || req->actual != req->length) |
1128 | DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__, | 1128 | DBG(fsg, "%s --> %d, %u/%u\n", __func__, |
1129 | req->status, req->actual, req->length); | 1129 | req->status, req->actual, req->length); |
1130 | if (req->status == -ECONNRESET) // Request was cancelled | 1130 | if (req->status == -ECONNRESET) // Request was cancelled |
1131 | usb_ep_fifo_flush(ep); | 1131 | usb_ep_fifo_flush(ep); |
@@ -1146,7 +1146,7 @@ static void bulk_out_complete(struct usb_ep *ep, struct usb_request *req) | |||
1146 | 1146 | ||
1147 | dump_msg(fsg, "bulk-out", req->buf, req->actual); | 1147 | dump_msg(fsg, "bulk-out", req->buf, req->actual); |
1148 | if (req->status || req->actual != bh->bulk_out_intended_length) | 1148 | if (req->status || req->actual != bh->bulk_out_intended_length) |
1149 | DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__, | 1149 | DBG(fsg, "%s --> %d, %u/%u\n", __func__, |
1150 | req->status, req->actual, | 1150 | req->status, req->actual, |
1151 | bh->bulk_out_intended_length); | 1151 | bh->bulk_out_intended_length); |
1152 | if (req->status == -ECONNRESET) // Request was cancelled | 1152 | if (req->status == -ECONNRESET) // Request was cancelled |
@@ -1169,7 +1169,7 @@ static void intr_in_complete(struct usb_ep *ep, struct usb_request *req) | |||
1169 | struct fsg_buffhd *bh = req->context; | 1169 | struct fsg_buffhd *bh = req->context; |
1170 | 1170 | ||
1171 | if (req->status || req->actual != req->length) | 1171 | if (req->status || req->actual != req->length) |
1172 | DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__, | 1172 | DBG(fsg, "%s --> %d, %u/%u\n", __func__, |
1173 | req->status, req->actual, req->length); | 1173 | req->status, req->actual, req->length); |
1174 | if (req->status == -ECONNRESET) // Request was cancelled | 1174 | if (req->status == -ECONNRESET) // Request was cancelled |
1175 | usb_ep_fifo_flush(ep); | 1175 | usb_ep_fifo_flush(ep); |