lkml.org 
[lkml]   [2014]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCHv2] irtty-sir.c: Do not set_termios() on irtty_close()
From
From: Tommie Gannert <tommie@gannert.se>
Date: Mon, 17 Feb 2014 20:46:04 +0000

> From: Tommie Gannert <tommie@gannert.se>
>
> Issuing set_termios() from irtty_close() causes kernel Oops for
> unplugged usb-serial devices.
>
> Since no other tty_ldisc calls set_termios() on close and no tty driver
> seem to check if tty->device_data is NULL or not on entry to set_termios(),
> the only solution I can come up with is to remove the irtty_stop_receiver()
> call, which only updates termios.
>
> Signed-off-by: Tommie Gannert <tommie@gannert.se>

Applied, thank you.


\
 
 \ /
  Last update: 2014-02-17 23:21    [W:0.074 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site