Re: ftdi_sio bug: setting two custom baud rates in a row fails

2016-01-03 Thread Edwin Olson
separate + move this common *code to serial.c, it is replicated in nearly every serial driver On Fri, Jan 1, 2016 at 12:53 PM, Johan Hovold wrote: > On Thu, Dec 31, 2015 at 04:38:29PM -0500, Edwin Olson wrote: >> Hi, >> >> When setting custom baud rates with the ftd

Re: ftdi_sio bug: setting two custom baud rates in a row fails

2015-12-31 Thread Edwin Olson
1275 dev_dbg(dev, "%s - custom divisor %d sets baud rate to %d\n", 1276 __func__, priv->custom_divisor, baud); I think that a reasonable solution is to remove the condition that baud==38400. A tested work-around from user space is to first clea