projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1546e6a
)
USB: serial: allow up to 16 ports per device
author
Johan Hovold
<johan@kernel.org>
Thu, 2 Mar 2017 11:51:17 +0000
(12:51 +0100)
committer
Johan Hovold
<johan@kernel.org>
Thu, 16 Mar 2017 09:33:40 +0000
(10:33 +0100)
Raise the arbitrary limit of how many ports a single device can claim
from eight to 16.
This specifically enables the upper eight ports of some mxuport devices.
Signed-off-by: Johan Hovold <johan@kernel.org>
include/linux/usb/serial.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/usb/serial.h
b/include/linux/usb/serial.h
index 85b475933848958d7c8b2806d4477c4ddd0150f8..ee4394d8932f2eb94815f1bb785f0cdf37a31f5b 100644
(file)
--- a/
include/linux/usb/serial.h
+++ b/
include/linux/usb/serial.h
@@
-20,7
+20,7
@@
#include <linux/kfifo.h>
/* The maximum number of ports one device can grab at once */
-#define MAX_NUM_PORTS
8
+#define MAX_NUM_PORTS
16
/* parity check flag */
#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))