commit | 96baa4c37695b4dac2bde981f59c38e7af19f2eb | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Sun Oct 02 11:52:52 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 22 00:42:04 2011 +0200 |
tree | 4c9c24511165b0571d8ac9579a982ba03483fd1e | |
parent | 349e83f071e2bf7bd9fec50377bbdcfb1a143666 [diff] |
serial: pl01x: drain PL01x FIFO before baudrate change Not draining the FIFO and waiting for the UART to be non-busy before changing baudrate results in crap characters on the console, so let's wait for the FIFO to drain and the last character to be clocked out before we do that. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>