]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9125e852687f8b7d37b4f2fb5c9b39c5f9d3325
treeb82057687f759d1f64664a177a7df96cc62b92bb
parent0ae6c39682f6d12a0b4efcb173c0555543781b4d
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