diff options
Diffstat (limited to 'drivers/usb/serial/ark3116.c')
-rw-r--r-- | drivers/usb/serial/ark3116.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c index 9d708b22e955..599ab2e548a7 100644 --- a/drivers/usb/serial/ark3116.c +++ b/drivers/usb/serial/ark3116.c | |||
@@ -192,6 +192,7 @@ static void ark3116_set_termios(struct usb_serial_port *port, | |||
192 | buf = kmalloc(1, GFP_KERNEL); | 192 | buf = kmalloc(1, GFP_KERNEL); |
193 | if (!buf) { | 193 | if (!buf) { |
194 | dbg("error kmalloc"); | 194 | dbg("error kmalloc"); |
195 | *port->tty->termios = *old_termios; | ||
195 | return; | 196 | return; |
196 | } | 197 | } |
197 | 198 | ||