aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serdev
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-05-11 12:56:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 16:43:55 +0200
commit88e2582e90bb89fe895ff0dceeb5d5ab65d07997 (patch)
treee6260500a6b4bc6d4bb498817117a8414f8d5c51 /drivers/tty/serdev
parenttty: fix port buffer locking (diff)
downloadlinux-dev-88e2582e90bb89fe895ff0dceeb5d5ab65d07997.tar.xz
linux-dev-88e2582e90bb89fe895ff0dceeb5d5ab65d07997.zip
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: 8ee3fde04758 (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>
Diffstat (limited to 'drivers/tty/serdev')
0 files changed, 0 insertions, 0 deletions