]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: qcom-geni: Remove alias dependency from qcom serial driver
authorViken Dadhaniya <quic_vdadhani@quicinc.com>
Thu, 27 Mar 2025 07:07:11 +0000 (12:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 14:52:11 +0000 (16:52 +0200)
commita53be6945f5123c19d6fcc30783876705a2e0f00
tree141e37055508067988ee98a318b6f4cc87234711
parent6bd697b5fc39fd24e2aa418c7b7d14469f550a93
serial: qcom-geni: Remove alias dependency from qcom serial driver

The absence of an alias in the device tree results in an invalid line
number, causing the driver probe to fail for GENI serial.

To prevent probe failures, dynamically assign line numbers if an alias is
not present in the device tree for non-console ports.

Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Link: https://lore.kernel.org/r/20250327070711.2585887-1-quic_vdadhani@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c