serial: 8250: Refactor divisor programming
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 22 Jan 2015 17:24:28 +0000 (12:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:27 +0000 (10:11 -0800)
commite72abd5da0730dfc4c8f566f7896c15c2d1bb88f
tree8bd40b7a67a98e221997cdde6e8cabbc3a99368b
parent0ec3f585cfb503a18b82cd181c9bf32b45a24f5e
serial: 8250: Refactor divisor programming

Refactor divisor register programming into a new function,
serial8250_set_divisor; this allows serial console to reinitialize
early after resume from suspend.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c