diff options
author | Kedareswara rao Appana <appana.durga.rao@xilinx.com> | 2017-12-07 08:21:02 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-12-18 08:14:09 +0300 |
commit | 21e02a3e05cfd3994ca598a5c9c2e1795007b603 (patch) | |
tree | a0dbb05b182e949b1c2515b90b4a40e2481c4125 /drivers/dma/sirf-dma.c | |
parent | 5ba080aada5e739165e0f38d5cc3b04c82b323c8 (diff) | |
download | linux-21e02a3e05cfd3994ca598a5c9c2e1795007b603.tar.xz |
dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor
Add variable for checking channel idle state to ensure that dma
descriptor is not submitted when dmaengine is in progress.
This will avoid the polling for a bit in the status register to know
dma state in the driver hot path.
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sirf-dma.c')
0 files changed, 0 insertions, 0 deletions