]> git.baikalelectronics.ru Git - kernel.git/commit
of: Fix premature bootconsole disable with 'stdout-path'
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 1 Mar 2015 17:21:22 +0000 (12:21 -0500)
committerRob Herring <robh@kernel.org>
Tue, 10 Mar 2015 15:27:21 +0000 (10:27 -0500)
commit8fef7daf5f808643da442abf2b29f57e4178dfae
tree66607f387502f0a31385873ae0812901e5e2b773
parent5f7ee74141e555e046b84e040d93bdafb0607120
of: Fix premature bootconsole disable with 'stdout-path'

Support for devicetree serial consoles via 'stdout-path' causes
bootconsoles to be disabled when the vt dummy console loads, since
there is no preferred console (the preferred console is not added
until the device is probed).

Ensure there is at least a preferred console, even if never matched.

Requires: "console: Fix console name size mismatch"
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c