diff options
author | Ivan T. Ivanov <ivan.ivanov@linaro.org> | 2015-09-03 18:03:35 +0300 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-05-18 15:40:17 +0100 |
commit | f0678092afd6a3044ad88b3db12237df2b5dc79b (patch) | |
tree | db8f7ceafc2d89ccce90c34fb95d8fdfc77b8251 | |
parent | 50c8a964bc1aea089521b040a0fbed7fbdcf8814 (diff) |
dmaengine: adm: Start next DMA even if there is no ongoing transaction
Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
-rw-r--r-- | drivers/dma/qcom_adm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/dma/qcom_adm.c b/drivers/dma/qcom_adm.c index e46c3cbf01a7..9c4f8962f0c6 100644 --- a/drivers/dma/qcom_adm.c +++ b/drivers/dma/qcom_adm.c @@ -580,12 +580,11 @@ static irqreturn_t adm_dma_irq(int irq, void *data) achan->curr_txd = NULL; - if (async_desc) { + if (async_desc) vchan_cookie_complete(&async_desc->vd); - /* kick off next DMA */ - adm_start_dma(achan); - } + /* kick off next DMA */ + adm_start_dma(achan); spin_unlock_irqrestore(&achan->vc.lock, flags); } |