linux-stable/drivers/tty
Lucas Stach 88e2582e90 serial: core: fix crash in uart_suspend_port
With serdev we might end up with serial ports that have no cdev exported
to userspace, as they are used as the bus interface to other devices. In
that case serial_match_port() won't be able to find a matching tty_dev.

Skip the irq wakeup enabling in that case, as serdev will make sure to
keep the port active, as long as there are devices depending on it.

Fixes: 8ee3fde047 (tty_port: register tty ports with serdev bus)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-18 16:43:55 +02:00
..
hvc tty/hvc_console: fix console lock ordering with spinlock 2017-03-31 11:37:13 +02:00
ipwireless
serdev serdev: fix tty-port client deregistration 2017-05-18 16:41:49 +02:00
serial serial: core: fix crash in uart_suspend_port 2017-05-18 16:43:55 +02:00
vt vt: make mouse selection of non-ASCII consistent 2017-04-11 21:39:15 +02:00
amiserial.c
bfin_jtag_comm.c
cyclades.c Annotate hardware config module parameters in drivers/tty/ 2017-04-20 12:02:32 +01:00
ehv_bytechan.c tty: ehv_bytechan: clean up init error handling 2017-05-18 16:43:55 +02:00
goldfish.c
isicom.c
Kconfig
Makefile tty: split job control support into a file of its own 2017-04-18 18:01:52 +02:00
metag_da.c
mips_ejtag_fdc.c
moxa.c Annotate hardware config module parameters in drivers/tty/ 2017-04-20 12:02:32 +01:00
moxa.h
mxser.c Annotate hardware config module parameters in drivers/tty/ 2017-04-20 12:02:32 +01:00
mxser.h
n_gsm.c
n_hdlc.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c
rocket.c Annotate hardware config module parameters in drivers/tty/ 2017-04-20 12:02:32 +01:00
rocket.h
rocket_int.h
synclink.c Annotate hardware config module parameters in drivers/tty/ 2017-04-20 12:02:32 +01:00
synclink_gt.c
synclinkmp.c
sysrq.c oom: improve oom disable handling 2017-05-03 15:52:10 -07:00
tty_audit.c
tty_baudrate.c tty: move baudrate handling code to a file of its own 2017-04-18 18:01:52 +02:00
tty_buffer.c
tty_io.c tty: fix comment for __tty_alloc_driver() 2017-04-24 13:15:39 +02:00
tty_ioctl.c tty: move baudrate handling code to a file of its own 2017-04-18 18:01:52 +02:00
tty_jobctrl.c tty: split job control support into a file of its own 2017-04-18 18:01:52 +02:00
tty_ldisc.c Revert "tty: don't panic on OOM in tty_set_ldisc()" 2017-04-14 10:59:56 +02:00
tty_ldsem.c
tty_mutex.c
tty_port.c tty: fix port buffer locking 2017-05-18 16:43:55 +02:00