]> 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)
commitd88da816cf3df5d5d43f0fb31b3e94a8597caac6
tree66607f387502f0a31385873ae0812901e5e2b773
parentecc902dc32e752f75774f160e418aab9b7e7af92
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