diff options
| author | Eugeniy Paltsev <[email protected]> | 2017-08-21 16:22:13 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-31 16:47:31 +0000 |
| commit | 31cb9a8575ca04f47ea113434d4782b695638b62 (patch) | |
| tree | 0e59adc66bebe835aaf75bc713cb8a42546d9141 /net/unix/af_unix.c | |
| parent | tty: hvcs: make ktermios const (diff) | |
| download | kernel-31cb9a8575ca04f47ea113434d4782b695638b62.tar.gz kernel-31cb9a8575ca04f47ea113434d4782b695638b62.zip | |
earlycon: initialise baud field of earlycon device structure
For now baud field of earlycon structure device is't initialised at all
in of_setup_earlycon (in oppositе to register_earlycon).
So when I use stdout-path to point earlycon device
(like stdout-path = &serial or stdout-path = "serial:115200n8")
baud field of earlycon device structure remains uninitialised and
earlycon initialization is not performed correctly as
of_setup_earlycon is used.
When pass all arguments via bootargs
(like bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8")
initialization is performed correctly as register_earlycon is used.
So initialise baud field of earlycon device structure by value of
"current-speed" property from device tree or from options
(if they exist) when we use of_setup_earlycon
Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
