commit | bac644675ac900e27dc079cf062b55fa71a4c211 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Oct 23 22:26:06 2014 +0900 |
committer | Simon Glass <sjg@chromium.org> | Thu Oct 23 21:43:08 2014 -0600 |
tree | fe3412a00da761d28dc9fea814ec65f6f5259793 | |
parent | 3fdd0bb2b0dc20f192e9ea8682d5c18f37daadc1 [diff] |
dm: serial: fix console putc Commit b8893327e9d2 (dm: serial: Put common code into separate functions) consolidated getc() correctly, but introduced another bug to putc(); serial_stub_putc() passes sdev->priv to serial_putc_dev(), but serial_putc_dev() uses cur_dev instead of the given argument. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>