]> 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>
Wed, 18 Jan 2023 10:41:21 +0000 (11:41 +0100)
commitd042f3b850c1a495764edca9d44b9bff041e7170
tree16ee01f9096d5cffdc372da76b695fa8bb632b46
parent5fb31dd7a454942ea2ba503f3d0e2f9427180052
tty: serial: tegra: Activate RX DMA transfer by request

[ Upstream commit 5593a37379f07f4f01661c22eed26852dd0dfc83 ]

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>
Stable-dep-of: 109a951a9f1f ("serial: tegra: Read DMA status before terminating")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/serial-tegra.c