Chunyan Zhang 4b7349cb4e serial: sprd: getting port index via serial aliases only
This patch simplifies the process of getting serial port number, with
this patch, serial devices must have aliases configured in devicetree.

The serial port searched out via sprd_port array maybe wrong if we don't
have serial alias defined in devicetree, and specify console with command
line, we would get the wrong port number if other serial ports probe
failed before console's. So using aliases is mandatory.

Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20200318105049.19623-2-zhang.lyra@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-18 12:20:04 +01:00
..
2020-01-29 10:13:27 -08:00
2020-02-10 12:34:43 -08:00
2020-01-29 10:13:27 -08:00
2019-12-18 15:04:57 +01:00
2020-01-29 10:13:27 -08:00
2020-02-08 14:04:19 -08:00
2020-01-29 10:13:27 -08:00