]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
tty: serial: tegra: Activate RX DMA transfer by request
authorDmitry Osipenko <digetx@gmail.com>
Sun, 12 Jan 2020 18:09:18 +0000 (21:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 13:07:50 +0000 (14:07 +0100)
commitd5e3fadb70125c6c41f692cf1c0e626c12e11de1
tree981c35305e9e12c715aa6d7855104ceec704a706
parenta6184f8e0bb1ba8b444836926cd6967ea176fd31
tty: serial: tegra: Activate RX DMA transfer by request

This allows DMA engine to go into runtime-suspended mode whenever there is
no data to receive, instead of keeping DMA active all the time while TTY
is opened (i.e. permanently active in practice, like in the case of UART
Bluetooth).

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200112180919.5194-2-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c