18 lines
623 B
Diff
18 lines
623 B
Diff
--- linux-4.14.27/drivers/usb/host/ehci-hcd.c.old 2018-04-17 18:00:00.000000000 +0000
|
|
+++ linux-4.14.27/drivers/usb/host/ehci-hcd.c 2018-04-17 18:00:00.000000000 +0000
|
|
@@ -873,14 +873,6 @@
|
|
INIT_LIST_HEAD (&qtd_list);
|
|
|
|
switch (usb_pipetype (urb->pipe)) {
|
|
- case PIPE_CONTROL:
|
|
- /* qh_completions() code doesn't handle all the fault cases
|
|
- * in multi-TD control transfers. Even 1KB is rare anyway.
|
|
- */
|
|
- if (urb->transfer_buffer_length > (16 * 1024))
|
|
- return -EMSGSIZE;
|
|
- /* FALLTHROUGH */
|
|
- /* case PIPE_BULK: */
|
|
default:
|
|
if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags))
|
|
return -ENOMEM;
|