serial: stm32: fix multi-ports management

Correct management of multi-ports. Each port has
its own last residue value and its own alias.

Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gerald Baeza 2017-07-13 15:08:27 +00:00 • committed by Greg Kroah-Hartman
commit e570791596
2 changed files with 8 additions and 5 deletions