serial: stm32: fix multi-ports management
authorGerald Baeza <gerald.baeza@st.com>
Thu, 13 Jul 2017 15:08:27 +0000 (15:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 14:32:25 +0000 (07:32 -0700)
commite57079159619c21d7b33916ba5a4e74259a9fce7
tree53aa9250237afef889c3df6442752b20e7e293bb
parent3e5fcbacee5c2524499f203c31db46eefa744437
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>
drivers/tty/serial/stm32-usart.c
drivers/tty/serial/stm32-usart.h