tty: xuartps: Dynamically adjust to input frequency changes
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 17 Oct 2013 21:08:11 +0000 (14:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Oct 2013 02:47:38 +0000 (19:47 -0700)
commitc4b0510cc1571ff44e1d6024d92683d49a8bcfde
treeb82057687f759d1f64664a177a7df96cc62b92bb
parente6b39bfd0db207d2e9f3f78468d18f529f3b7901
tty: xuartps: Dynamically adjust to input frequency changes

Add a clock notifier to dynamically handle frequency changes of the
input clock by reprogramming the UART in order to keep the baud rate
constant.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c