diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-06-26 13:24:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 17:22:55 -0700 |
commit | 13a9f6c64fdc55eb6c5e129c1f56cb022613a96f (patch) | |
tree | f926e266c3aab73e17ce8a43b5ef00a0c506c5ea /drivers/tty/n_tty.c | |
parent | 9b58bec76e8f80664a849ed788e30503463a8eb8 (diff) | |
download | linux-13a9f6c64fdc55eb6c5e129c1f56cb022613a96f.tar.bz2 |
serial: samsung: Consider DT alias when probing ports
Current driver code relies on probe order of particular samsung-uart
instances, which makes it impossible to get proper initialization of
ports when not all ports are available on board, not even saying of
deterministic device naming.
This patch fixes this on DT-enabled systems by using DT aliases for
ports as instance ID, if specified, or falling back to legacy method
otherwise to provide backwards compatibility.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions