]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
serial: stm32: adding dma support
authorAlexandre TORGUE <alexandre.torgue@st.com>
Thu, 15 Sep 2016 16:42:40 +0000 (18:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:48:55 +0000 (11:48 +0200)
commit3489187204eb75e5635d8836babfd0a18be613f4
treef5326fff1fa41e7ce789edb4a0ae46cd43607a39
parent3fa047fde43c1a100985751638d0d19b50913ff1
serial: stm32: adding dma support

This patch adds dma mode support for rx and tx
with pio mode as fallback in case of dma error.

Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c
drivers/tty/serial/stm32-usart.h