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

Commit e150c4cc authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman
Browse files

TTY: msm_serial, remove unneeded console set



It doesn't make sense to set console to uart_port in console->setup.
At that time the console is set by uart_add_one_port already.

The call chain looked like:
uart_add_one_port()
  uport->cons = drv->cons;   <= once
  uart_configure_port()
    register_console()
     console->setup()
       port->cons = co;      <= second time

Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1f33a51d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -804,8 +804,6 @@ static int __init msm_console_setup(struct console *co, char *options)
	if (unlikely(!port->membase))
		return -ENXIO;

	port->cons = co;

	msm_init_clock(port);

	if (options)