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)
commitb60f2f66a58c43e8c928336ec72f64e72f1237ea
treea6ef0fef17f1d717be86e06be34820a11653c30e
parentfe43390702a1b5741fdf217063b05c7612b38303
serial: amba-pl011: factor out code for writing LCR_H register

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