diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2019-01-14 17:54:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-18 11:22:22 +0100 |
commit | a26988e8fef4b258d1b771e0f4b2e3b67cb2e044 (patch) | |
tree | c1ad43eed819905b9956f7b6763ab12f6108223b /Documentation/devicetree/bindings/serial/pl011.txt | |
parent | 896efccfcc7ff9cca44baa916a55ddf323cc10d1 (diff) |
tty: serial: meson: if no alias specified use an available id
At probe, the uart driver tries to get an id from a device tree alias.
When no alias was specified, the driver would return an error and probing
would fail.
Providing an alias for registering a serial device should not be mandatory.
If the device tree does not specify an alias, provide an id from a reserved
range so that the probing can continue.
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/pl011.txt')
0 files changed, 0 insertions, 0 deletions