diff options
author | Mark A. Greer | 2008-02-04 22:27:54 -0800 |
---|---|---|
committer | Linus Torvalds | 2008-02-05 09:44:10 -0800 |
commit | 7bbdc3d51cf793dd81c38f794f4cb73df58d1527 (patch) | |
tree | 483bf4e7db67bcd7d292d09679cdc3f755e8ac85 /init | |
parent | 3e8d4e2075e049664294722b436edfc5ced6ca53 (diff) |
serial: MPSC: set baudrate when BRG divider is set.
The clock to generate the desired baudrate with the MPSC is first divided
by the Baud Rate Generator (BRG) and then by the MPSC itself. So, when the
BRG divider is changed, the MPSC divider must also be changed to generate
the correct baudrate. During MPSC initialization, the BRG divider is
changed but the MPSC divider isn't changed until much later. This results
in some printk's coming out garbled. To fix that, set the MPSC divider at
the same time that the BRG divider is changed.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions