* [PATCH] usb: gadget: u_serial.h: increase MAX_U_SERIAL_PORTS to 8
@ 2020-06-16 5:56 Macpaul Lin
0 siblings, 0 replies; only message in thread
From: Macpaul Lin @ 2020-06-16 5:56 UTC (permalink / raw)
To: Felipe Balbi, Greg Kroah-Hartman, Matthias Brugger,
Michał Mirosław, linux-usb, linux-kernel,
linux-arm-kernel, linux-mediatek
Cc: Mediatek WSD Upstream, Macpaul Lin, Macpaul Lin
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.
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
drivers/usb/gadget/function/u_serial.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/u_serial.h b/drivers/usb/gadget/function/u_serial.h
index e5b08ab..7d61113 100644
--- a/drivers/usb/gadget/function/u_serial.h
+++ b/drivers/usb/gadget/function/u_serial.h
@@ -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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-16 5:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 5:56 [PATCH] usb: gadget: u_serial.h: increase MAX_U_SERIAL_PORTS to 8 Macpaul Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).