commit | d70a7b1626d64c8c57fb9258a81f427198b60700 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sun Jan 10 14:39:34 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 28 14:07:04 2016 -0800 |
tree | 1f5bee23483bbc50d1d49ee3fd13dc23168f1b3b | |
parent | 6a597a38cbaf067019db96645f36e0b1f01f306a [diff] |
serial: 8250: Unlink uart console ptr if console setup fails If console setup fails (eg., there is no valid port at that index), unlink the console ptr; otherwise, when the driver unloads, the console will be unregistered (even though setup, and thus registration, failed) and a console disabled message will be printed. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>