mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
serial: fix vr41xx_siu interface select
only PORT_VR41XX_SIU can select interface. Signed-off-by: Yoichi Yuasa <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a24ac9fba1
commit
a95d32094c
1 changed files with 2 additions and 1 deletions
|
|
@ -800,7 +800,8 @@ static int __init siu_console_setup(struct console *con, char *options)
|
|||
port->membase = ioremap(port->mapbase, siu_port_size(port));
|
||||
}
|
||||
|
||||
vr41xx_select_siu_interface(SIU_INTERFACE_RS232C);
|
||||
if (port->type == PORT_VR41XX_SIU)
|
||||
vr41xx_select_siu_interface(SIU_INTERFACE_RS232C);
|
||||
|
||||
if (options != NULL)
|
||||
uart_parse_options(options, &baud, &parity, &bits, &flow);
|
||||
|
|
|
|||
Loading…
Reference in a new issue