]> git.baikalelectronics.ru Git - kernel.git/commit
msm_serial: fix clock rate on DMA-based uarts
authorDavid Brown <davidb@codeaurora.org>
Fri, 7 Sep 2012 21:45:03 +0000 (14:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:33:36 +0000 (16:33 -0700)
commit230e617ed33439080b41e273071c0290fc32b105
treeeceada4f053dbeac2a87be445ff9bd56b0b0e2be
parent29f9e08254c65629109cb1b0724697d7a364e86f
msm_serial: fix clock rate on DMA-based uarts

The driver explicitly requests a clock rate for the UART, but it is
off by a factor of four from the dividers that it programs into the
UART.  Fix this by setting the rate to 1/4 of the current value.

Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_serial.c