Messages in this thread | | | Date | Thu, 30 Jul 2020 10:06:39 +0200 | From | Greg KH <> | 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@siemens.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@siemens.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
| |