diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-07-24 11:37:30 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 16:13:29 -0700 |
commit | 6909dadd914259f459828b11c378ddea08d40ab6 (patch) | |
tree | 396af77914babdd211843fc976f2011918d7e955 /README | |
parent | f8fb952fd409a4c854a66473c11d35b4e5e9c2eb (diff) | |
download | op-kernel-dev-6909dadd914259f459828b11c378ddea08d40ab6.zip op-kernel-dev-6909dadd914259f459828b11c378ddea08d40ab6.tar.gz |
msm_serial: Make baud_code detection more dynamic
Currently msm_set_baud_rate() assumes the uart clock rate is
1.8432 MHz. This is not always true, and limits our options to
program the baud rate. Instead of assuming the rate and
hard-coding the baud_code based on it, calculate the divider that
we want and try to find the closest baud_code that matches. This
allows us to support uarts with faster clock speeds.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions