summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_pnfs.c
diff options
context:
space:
mode:
authorZhenfang Wang <zhenfang.wang@unisoc.com>2020-03-12 16:26:04 +0300
committerVinod Koul <vkoul@kernel.org>2020-03-23 09:08:24 +0300
commitd0f19a48a185dab592afe1e18bf31a9d6790620d (patch)
tree8643c4904d337e0f063409a3415171d973340482 /fs/xfs/xfs_pnfs.c
parent3a5a8a27545ddd8bbdcc9241230a2eed4e81c931 (diff)
downloadlinux-d0f19a48a185dab592afe1e18bf31a9d6790620d.tar.xz
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 <zhenfang.wang@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/02adbe4364ec436ec2c5bc8fd2386bab98edd884.1584019223.git.baolin.wang7@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_pnfs.c')
0 files changed, 0 insertions, 0 deletions