projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c685333
)
dmaengine: hidma: Don't set chancnt
author
Jisheng Zhang
<jszhang@kernel.org>
Sun, 21 May 2023 10:02:51 +0000
(18:02 +0800)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 24 May 2023 06:54:32 +0000
(12:24 +0530)
The dma framework will calculate the dma channels chancnt, setting it
ourself is wrong.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link:
https://lore.kernel.org/r/20230521100252.3197-5-jszhang@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/hidma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/qcom/hidma.c
b/drivers/dma/qcom/hidma.c
index 04d1c33afc1296466e250aa865ee935a306131c5..344525c3a32fafbb7995b09bf2163bf1674fa95e 100644
(file)
--- a/
drivers/dma/qcom/hidma.c
+++ b/
drivers/dma/qcom/hidma.c
@@
-214,7
+214,6
@@
static int hidma_chan_init(struct hidma_dev *dmadev, u32 dma_sig)
spin_lock_init(&mchan->lock);
list_add_tail(&mchan->chan.device_node, &ddev->channels);
- dmadev->ddev.chancnt++;
return 0;
}