]> git.baikalelectronics.ru Git - kernel.git/commit
cdc-acm: ensure that termios get set when the port is activated
authorJim Paris <jim@jtan.com>
Thu, 30 Oct 2014 15:04:47 +0000 (11:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:26:15 +0000 (15:26 -0800)
commit6f8f2d48fb52c71552601dd1b699dd5be56f6b74
treed5571a7923e2f7559d0456eaa3a9cf27f983af01
parent9dacf7b7ef70a853c2e06084916d56df3e9c3c30
cdc-acm: ensure that termios get set when the port is activated

The driver wasn't properly configuring the hardware for the current
termios settings under all conditions.  Ensure that termios are
written to the device when the port is activated.

Signed-off-by: Jim Paris <jim@jtan.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c