]> git.baikalelectronics.ru Git - 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)
commit5593a37379f07f4f01661c22eed26852dd0dfc83
tree981c35305e9e12c715aa6d7855104ceec704a706
parent250a404fc8d7e2561e77ffa73a106550314b3675
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