Tommie Gannert
3eca529953
irtty-sir.c: Do not set_termios() on irtty_close()
...
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 >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-02-17 16:27:51 -05:00
..
2010-12-21 02:16:10 -08:00
2008-07-30 17:20:18 -07:00
2013-10-14 15:31:06 +02:00
2009-01-06 10:40:43 -08:00
2014-01-16 11:53:26 -08:00
2013-10-07 15:53:52 -04:00
2011-05-24 01:13:11 -04:00
2013-10-07 15:53:52 -04:00
2011-03-31 11:26:23 -03:00
2013-12-06 12:37:55 -05:00
2011-03-31 11:26:23 -03:00
2014-01-16 11:53:26 -08:00
2010-06-03 03:18:23 -07:00
2014-02-17 16:27:51 -05:00
2005-04-16 15:20:36 -07:00
2014-02-06 19:54:48 -08:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2013-12-06 12:37:55 -05:00
2013-12-06 12:37:55 -05:00
2014-02-06 19:54:48 -08:00
2008-07-30 17:20:18 -07:00
2014-01-16 11:53:26 -08:00
2009-09-01 01:13:38 -07:00
2013-10-14 15:31:06 +02:00
2011-03-31 11:26:23 -03:00
2013-12-06 12:37:55 -05:00
2013-08-21 20:51:10 -07:00
2012-10-07 14:37:11 -04:00
2014-01-09 22:57:13 -05:00
2014-01-09 22:57:13 -05:00
2012-11-20 15:51:55 -05:00
2014-01-16 11:53:26 -08:00
2013-09-24 12:54:17 -07:00
2013-12-06 12:37:55 -05:00
2013-12-06 12:37:55 -05:00
2005-04-16 15:20:36 -07:00
2014-01-16 11:53:26 -08:00
2008-07-30 17:20:18 -07:00
2011-06-24 11:20:14 +02:00
2013-12-09 18:09:28 -05:00
2013-12-06 12:37:55 -05:00
2013-12-09 18:09:28 -05:00
2013-12-06 12:37:55 -05:00
2013-08-29 21:55:23 -04:00
2009-01-06 10:40:43 -08:00
2005-04-16 15:20:36 -07:00