Commit a95d3209 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Linus Torvalds

serial: fix vr41xx_siu interface select

only PORT_VR41XX_SIU can select interface.
Signed-off-by: default avatarYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a24ac9fb
...@@ -800,6 +800,7 @@ static int __init siu_console_setup(struct console *con, char *options) ...@@ -800,6 +800,7 @@ static int __init siu_console_setup(struct console *con, char *options)
port->membase = ioremap(port->mapbase, siu_port_size(port)); port->membase = ioremap(port->mapbase, siu_port_size(port));
} }
if (port->type == PORT_VR41XX_SIU)
vr41xx_select_siu_interface(SIU_INTERFACE_RS232C); vr41xx_select_siu_interface(SIU_INTERFACE_RS232C);
if (options != NULL) if (options != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment