diff options
author | Zhenfang Wang <[email protected]> | 2020-03-12 21:26:04 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-03-23 11:38:24 +0530 |
commit | d0f19a48a185dab592afe1e18bf31a9d6790620d (patch) | |
tree | 8643c4904d337e0f063409a3415171d973340482 /scripts/bpf_helpers_doc.py | |
parent | 3a5a8a27545ddd8bbdcc9241230a2eed4e81c931 (diff) |
dmaengine: sprd: Set request pending flag when DMA controller is active
On new Spreadtrum platforms, when the CPU enters idle, it will close
the DMA controllers' clock to save power if the DMA controller is not
busy. Moreover the DMA controller's busy signal depends on the DMA
enable flag and the request pending flag.
When DMA controller starts to transfer data, which means we already
set the DMA enable flag, but now we should also set the request pending
flag, in case the DMA clock will be closed accidentally if the CPU
can not detect the DMA controller's busy signal.
Signed-off-by: Zhenfang Wang <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
Link: https://lore.kernel.org/r/02adbe4364ec436ec2c5bc8fd2386bab98edd884.1584019223.git.baolin.wang7@gmail.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions