linux-stable/drivers/tty/serdev
Johan Hovold 978d6fac5d serdev: fix controller-allocation error handling
Reorder controller initialisation so that in the unlikely event that id
allocation fails, we don't end up releasing id 0 in the destructor.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-23 11:25:48 +02:00
..
core.c serdev: fix controller-allocation error handling 2017-10-23 11:25:48 +02:00
Kconfig serdev: enable TTY port controller support by default 2017-10-20 14:20:06 +02:00
Makefile
serdev-ttyport.c serdev: ttyport: add missing open() error handling 2017-10-23 11:24:24 +02:00