linux/drivers/dma/ioat
Yajun Deng f4f84fb632 dmaengine: ioat: fixing the wrong dma_dev->chancnt
The chancnt would be updated in __dma_async_device_channel_register(),
but it was assigned in ioat_enumerate_channels(). Therefore chancnt has
the wrong value.

Add chancnt member to the struct ioatdma_device, ioat_dma->chancnt
is used in ioat, dma_dev->chancnt is used in dmaengine.

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230815061151.2724474-1-yajun.deng@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-08-21 18:38:19 +05:30
..
dca.c dmaengine: ioatdma: remove unused function missed during dma_v2 removal 2020-11-16 22:42:28 +05:30
dma.c dmaengine: ioat: Free up __cleanup() name 2023-06-26 11:14:18 +02:00
dma.h dmaengine: ioat: fixing the wrong dma_dev->chancnt 2023-08-21 18:38:19 +05:30
hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 7 2019-05-21 11:28:40 +02:00
init.c dmaengine: ioat: fixing the wrong dma_dev->chancnt 2023-08-21 18:38:19 +05:30
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
prep.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
registers.h dmaengine: ioat: use PCI core macros for PCIe Capability 2023-03-17 23:15:49 +05:30
sysfs.c dmaengine: ioatdma: use default_groups in kobj_type 2022-01-05 13:11:08 +05:30