serial: amba-pl011: factor out code for writing LCR_H register
authorJon Medhurst <tixy@linaro.org>
Tue, 10 Dec 2013 10:18:59 +0000 (10:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 17:35:37 +0000 (09:35 -0800)
The code to cope with a split tx/rx LCR_H register is non-trivial
so put it into it's own function to avoid duplication.

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

Simple merge