Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -800,6 +800,7 @@ static int __init siu_console_setup(struct console *con, char *options)
		port->membase = ioremap(port->mapbase, siu_port_size(port));
	}

	if (port->type == PORT_VR41XX_SIU)
		vr41xx_select_siu_interface(SIU_INTERFACE_RS232C);

	if (options != NULL)