Skip to contentSkip to conversation

usb: gadget: u_serial.h: increase MAX_U_SERIAL_PORTS to 8

PATCH New Macpaul Lin 1 participant 1 message Jun 16, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: u_serial.h: increase MAX_U_SERIAL_PORTS to 8

Mediatek's LTE modem needs up to 8 ports to connect to PC for logging and debugging under some scenarios. Hence we suggest to increase the definition of MAX_U_SERIAL_PORTS to 8 for some complex embedded systems.

---
 drivers/usb/gadget/function/u_serial.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/function/u_serial.h +1 -1
index e5b08ab..7d61113 100644
@@ -12,7 +12,7 @@
 #include <linux/usb/composite.h>
 #include <linux/usb/cdc.h>
 
-#define MAX_U_SERIAL_PORTS	4
+#define MAX_U_SERIAL_PORTS	8
 
 struct f_serial_opts {
 	struct usb_function_instance func_inst;
Signature · 1 line
1.7.9.5