]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00182346-2 serial: unregister the console when the console is released
authorHuang Shijie <b32955@freescale.com>
Wed, 9 May 2012 06:00:57 +0000 (14:00 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:46 +0000 (14:11 +0200)
commite215b7f95e134da6f070a37c63ae22dd8bfc2840
tree79f30549b4352852ad2e88fbff6306ba01adfdb4
parent77ce1cd1b9dbb5d070183a4f8e3c13ffb676baf7
ENGR00182346-2 serial: unregister the console when the console is released

The old code does not unregister the console mxc_early_uart_console when
it is disabled. This may causes the global console `console_drivers` still
pointes an invalid console mxc_early_uart_console. A hung will be observed
in this situation.

Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/tty/serial/mxc_uart_early.c