lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 30 Jul 2020 10:06:39 +0200 From: Greg KH <gregkh@...uxfoundation.org> To: Sheng Long Wang <china_shenglong@....com> Cc: johan@...nel.org, linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org, jan.kiszka@...mens.com, Wang Sheng Long <shenglong.wang.ext@...mens.com> Subject: Re: [PATCH] usb-serial:cp210x: add support to software flow control On Thu, Jul 30, 2020 at 03:59:22PM +0800, Sheng Long Wang wrote: > From: Wang Sheng Long <shenglong.wang.ext@...mens.com> > > When data is transmitted between two serial ports, > the phenomenon of data loss often occurs. The two kinds > of flow control commonly used in serial communication > are hardware flow control and software flow control. > > In serial communication, If you only use RX/TX/GND Pins, you > can't do hardware flow. So we often used software flow control > and prevent data loss. The user sets the software flow control > through the application program, and the application program > sets the software flow control mode for the serial port > chip through the driver. > > For the cp210 serial port chip, its driver lacks the > software flow control setting code, so the user cannot set > the software flow control function through the application > program. This adds the missing software flow control. > > Signed-off-by: Wang Sheng Long <shenglong.wang.ext@...mens.com> > --- > drivers/usb/serial/cp210x.c | 118 ++++++++++++++++++++++++++++++++++-- > 1 file changed, 113 insertions(+), 5 deletions(-) What changed from the previous version of this patch? That should be described below the --- line and this is a v2, right? thanks, greg k-h
Powered by blists - more mailing lists