Thread (39 messages) 39 messages, 2 authors, 2020-02-03

Re: [PATCH v6 12/16] dmaengine: tegra-apb: Clean up suspend-resume

From: Jon Hunter <jonathanh@nvidia.com>
Date: 2020-01-30 14:09:48
Also in: linux-tegra, lkml

On 30/01/2020 04:38, Dmitry Osipenko wrote:
It is enough to check whether hardware is busy on suspend and to reset
it across of suspend-resume because channel's configuration is fully
re-programmed on each DMA transaction anyways and because save-restore
of an active channel won't end up well without pausing transfer prior to
saving of the state (note that all channels shall be idling at the time of
suspend, so save-restore is not needed at all).
I guess if we ever wanted to support SNDRV_PCM_INFO_PAUSE for audio and
support the pause callback, then saving and restoring the channels could
be needed. Right now I believe that it will just terminate_all transfers
for audio on entering suspend. Any value in keeping this?

Jon

-- 
nvpublic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help