]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: amba-pl011: preseserve hardware settings during initialisation
authorJon Medhurst <tixy@linaro.org>
Tue, 10 Dec 2013 10:19:00 +0000 (10:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 17:35:38 +0000 (09:35 -0800)
commit570d291048aecc02271884f6a5f50ad555f271a5
tree9d9e47b193b44c5550cbdd24b93a687d3a8b6d56
parentb60f2f66a58c43e8c928336ec72f64e72f1237ea
serial: amba-pl011: preseserve hardware settings during initialisation

During initialisation, a UART may already be in use for a console, so
take care to preserve things like baud rate and data format to avoid
corrupting console output.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c