about summary refs log tree commit diff
path: root/machines/profpatsch/kernel-usb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/kernel-usb.patch')
-rw-r--r--machines/profpatsch/kernel-usb.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/machines/profpatsch/kernel-usb.patch b/machines/profpatsch/kernel-usb.patch
new file mode 100644
index 00000000..e51b1aad
--- /dev/null
+++ b/machines/profpatsch/kernel-usb.patch
@@ -0,0 +1,11 @@
+--- a/drivers/usb/storage/uas.c	2016-04-03 21:45:04.326212268 +0200
++++ b/drivers/usb/storage/uas.c	2016-04-03 21:51:45.263114257 +0200
+@@ -812,7 +812,7 @@
+ 	.slave_configure = uas_slave_configure,
+ 	.eh_abort_handler = uas_eh_abort_handler,
+ 	.eh_bus_reset_handler = uas_eh_bus_reset_handler,
+-	.can_queue = 65536,	/* Is there a limit on the _host_ ? */
++	.can_queue = MAX_CMNDS,	/* Is there a limit on the _host_ ? */
+ 	.this_id = -1,
+ 	.sg_tablesize = SG_NONE,
+ 	.skip_settle_delay = 1,