diff options
| author | Serge Semin <[email protected]> | 2023-01-13 20:13:51 +0300 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2023-01-27 17:15:33 +0100 |
| commit | 2271216e0aac2409f2cd9a0650c460b89f7d2446 (patch) | |
| tree | 11e1e158f9bc0c80abf06123723158fee1ef9fdf /drivers/fpga/zynqmp-fpga.c | |
| parent | aa92fa1e53befd7c0ff50f8346cb7980584f0beb (diff) | |
dmaengine: dw-edma: Drop chancnt initialization
The DMA engine core manages dma_device.chancnt itself, e.g., in
dma_async_device_register(). DMA device drivers should not initialize
chancnt because it causes the wrong number of channels printed in the
device summary.
Drop the dw-edma chancnt initialization.
Link: https://lore.kernel.org/r/[email protected]
Fixes: e63d79d1ffcd ("dmaengine: Add Synopsys eDMA IP core driver")
Tested-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions