Re: [PATCH v3 3/3] serial: core: Move console character device handling from printk

From: Tony Lindgren
Date: Wed Nov 22 2023 - 03:16:35 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [231122 09:04]:
> * Tony Lindgren <tony@xxxxxxxxxxx> [700101 02:00]:
> > - __add_preferred_console(buf, idx, options, brl_options, true);
> > return 1;
>
> Looks like this can't be dropped yet. We need to keep it for the
> brl_options. I'll change it to return early if brl_options is NULL.

Looks like we can drop the parsing from printk :) In console_setup()
we can call console_opt_save() after _braille_console_setup(), and
then save also the brl_options for the port.

Regards,

Tony