summarylogtreecommitdiffstats
path: root/0001-extend-the-highest-baudrate-of-cp2102-to-be-1.5-MHz.patch
blob: 77c9480d439028559585d951a196e33a03b2d409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 99fead723e5ec691234cc2904ff9e6aa359d7da7 Mon Sep 17 00:00:00 2001
From: Ben <bensongsyz@gmail.com>
Date: Tue, 14 May 2024 21:26:59 +0800
Subject: [PATCH] extend the highest baudrate of cp2102 to be 1.5 MHz

---
 cp210x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cp210x.c b/cp210x.c
index 21fd266..b6719c2 100644
--- a/cp210x.c
+++ b/cp210x.c
@@ -2036,6 +2036,8 @@ static void cp210x_init_max_speed(struct usb_serial *serial)
 		max = 921600;
 		break;
 	case CP210X_PARTNUM_CP2102:
+		max = 1500000;
+		break;
 	case CP210X_PARTNUM_CP2103:
 		max = 1000000;
 		break;
-- 
2.45.0