diff options
author | Hanna Hawa <hannah@marvell.com> | 2017-05-05 12:57:52 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-05-14 15:54:45 +0300 |
commit | 35e34480c5177f96d822b8ea8e9e42b5fcca6ff6 (patch) | |
tree | 3e8680751f339d87ef3cbbea7403017ab910576e /drivers/dma/mv_xor_v2.c | |
parent | d793327fac3a9292edfdcee0ab6c29e4fdd08d65 (diff) | |
download | linux-35e34480c5177f96d822b8ea8e9e42b5fcca6ff6.tar.xz |
dmaengine: mv_xor_v2: remove unnecessary write to DESQ_STOP register
Remove unnecessary write to DESQ_STOP register, this register is used to
enable or disable the XOR engine, and not to issue all pending
descriptors in the queue. mv_xor_v2 driver already writes to this
register and enable XOR engine in the mv_xor_v2_descq_init() function,
called during initialization.
Signed-off-by: Hanna Hawa <hannah@marvell.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mv_xor_v2.c')
-rw-r--r-- | drivers/dma/mv_xor_v2.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/mv_xor_v2.c b/drivers/dma/mv_xor_v2.c index 5292ff2d5380..f386b88bb50c 100644 --- a/drivers/dma/mv_xor_v2.c +++ b/drivers/dma/mv_xor_v2.c @@ -535,9 +535,6 @@ static void mv_xor_v2_issue_pending(struct dma_chan *chan) mv_xor_v2_add_desc_to_desq(xor_dev, xor_dev->npendings); xor_dev->npendings = 0; - /* Activate the channel */ - writel(0, xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_STOP_OFF); - spin_unlock_bh(&xor_dev->lock); } |