forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/usb/serial/console.c
....@@ -79,7 +79,7 @@
7979 if (*s)
8080 doflow = (*s++ == 'r');
8181 }
82
-
82
+
8383 /* Sane default */
8484 if (baud == 0)
8585 baud = 9600;
....@@ -102,6 +102,9 @@
102102 break;
103103 }
104104
105
+ if (doflow)
106
+ cflag |= CRTSCTS;
107
+
105108 /*
106109 * no need to check the index here: if the index is wrong, console
107110 * code won't call us