Skip to content

Commit

Permalink
hack! tty: serial: qcom_geni_serial: Allow probing with current Surfa…
Browse files Browse the repository at this point in the history
…ce Pro X DT
  • Loading branch information
qzed committed Jun 14, 2021
1 parent b1f9ec6 commit 68ad1bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/tty/serial/qcom_geni_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,8 @@ static int qcom_geni_serial_probe(struct platform_device *pdev)
line = of_alias_get_id(pdev->dev.of_node, "hsuart");
}

line = 0;

port = get_port_from_line(line, console);
if (IS_ERR(port)) {
dev_err(&pdev->dev, "Invalid line %d\n", line);
Expand Down

0 comments on commit 68ad1bb

Please sign in to comment.