Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-30 Thread Oliver Neukum
On Wed, 2014-10-29 at 16:58 +0100, Johan Hovold wrote: On Wed, Oct 29, 2014 at 11:56:02PM +0800, Greg Kroah-Hartman wrote: This should go to older kernels as well, right? Yes, if you want. It's fixing handling of B0, but I doubt many people care (hence the missing stable tag). Note that

[PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Johan Hovold
Make sure to only raise DTR on transitions from B0 in set_termios. Also allow set_termios to be called from open with a termios_old of NULL. Note that DTR will not be raised prematurely in this case. Signed-off-by: Johan Hovold jo...@kernel.org --- drivers/usb/class/cdc-acm.c | 5 +++-- 1 file

Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 29, 2014 at 04:30:40PM +0100, Johan Hovold wrote: Make sure to only raise DTR on transitions from B0 in set_termios. Also allow set_termios to be called from open with a termios_old of NULL. Note that DTR will not be raised prematurely in this case. Signed-off-by: Johan Hovold

Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Johan Hovold
On Wed, Oct 29, 2014 at 11:56:02PM +0800, Greg Kroah-Hartman wrote: On Wed, Oct 29, 2014 at 04:30:40PM +0100, Johan Hovold wrote: Make sure to only raise DTR on transitions from B0 in set_termios. Also allow set_termios to be called from open with a termios_old of NULL. Note that DTR