USB: serial: ftdi_sio: Handle the old_termios == 0 case e.g. uart_resume_port()
authorAndrew Worsley <amworsley@gmail.com>
Tue, 22 Nov 2011 09:00:19 +0000 (20:00 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 16:25:11 +0000 (09:25 -0700)
commit9c9d7bf530c4d01e695fd9e8ba69006177d36a14
treeee8424844cc81a12d9edc772f91875d4e86d85cb
parentc4c2a7db886d6a7bb562fe5eebbb74ba043745b2
USB: serial: ftdi_sio: Handle the old_termios == 0 case e.g. uart_resume_port()

commit c515598e0f5769916c31c00392cc2bfe6af74e55 upstream.

  Handle null old_termios in ftdi_set_termios() calls from uart_resume_port().

Signed-off-by: Andrew Worsley <amworsley@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Lotfi Manseur <lotfi.manseur@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c