projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df8f91
)
dmaengine: bcm-sba-raid: Pre-ack async tx descriptor
author
Anup Patel
<anup.patel@broadcom.com>
Tue, 22 Aug 2017 09:57:01 +0000
(15:27 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 28 Aug 2017 11:14:24 +0000
(16:44 +0530)
We should pre-ack async tx descriptor at time of
allocating sba_request (just like other RAID drivers).
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/bcm-sba-raid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/bcm-sba-raid.c
b/drivers/dma/bcm-sba-raid.c
index c5baaa37b0fe56eed6fcd3864793aec451db8a53..cb48d98e853e7d94ef7ec68dd341a4896a0a2b7d 100644
(file)
--- a/
drivers/dma/bcm-sba-raid.c
+++ b/
drivers/dma/bcm-sba-raid.c
@@
-237,6
+237,7
@@
static struct sba_request *sba_alloc_request(struct sba_device *sba)
atomic_set(&req->next_pending_count, 1);
dma_async_tx_descriptor_init(&req->tx, &sba->dma_chan);
+ async_tx_ack(&req->tx);
return req;
}