
21 Apr
2015
21 Apr
'15
4:06 p.m.
On Tue, Apr 21, 2015 at 03:10:06PM +0200, Linus Walleij wrote:
commit aed2fbef5e9a0ab5a7cd01e742039a962f0b24ef "dm: serial: Tidy up the pl01x driver" caused a regression on (real hardware) PL010 by omitting to update the line control register when switching baudrate.
Fix this by inlining the missing write to the baud control register.
Also renaming the set_line_control() function to pl011_set_line_control() since this function is clearly PL011-specific, and it won't suffice to call that to set up line control.
Tested on the Integrator/AP hardware.
Cc: Simon Glass sjg@chromium.org Signed-off-by: Linus Walleij linus.walleij@linaro.org
Applied to u-boot/master, thanks!
--
Tom