]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
amba_pl011: Don't use DT aliases for numbering
authorPhil Elwell <phil@raspberrypi.org>
Tue, 23 Feb 2016 17:26:48 +0000 (17:26 +0000)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 28 Aug 2017 18:30:12 +0000 (15:30 -0300)
commit3172c761213b9a8abf80c499d0affbcebee2a63f
tree998792348a0e413a2fe692bdec76d0627c6ab7aa
parent4a1358e9369ab7ef17784269c784597dca179c81
amba_pl011: Don't use DT aliases for numbering

The pl011 driver looks for DT aliases of the form "serial<n>",
and if found uses <n> as the device ID. This can cause
/dev/ttyAMA0 to become /dev/ttyAMA1, which is confusing if the
other serial port is provided by the 8250 driver which doesn't
use the same logic.
drivers/tty/serial/amba-pl011.c