linux/drivers/dma/dw-edma
Serge Semin 5fdca4a995 dmaengine: dw-edma: Fix readq_ch() return value truncation
Previously, readq_ch() did a 64-bit readq(), but truncated the result by
storing it in the u32 "value".  Change "value" to u64 to avoid the
truncation.

Note: the method is currently unused, so the bug hasn't caused any problem
so far.

Fixes: 04e0a39fc1 ("dmaengine: dw-edma: Add writeq() and readq() for 64 bits architectures")
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2023-02-10 17:15:23 -06:00
..
dw-edma-core.c dmaengine: dw-edma: Use DMA engine device debugfs subdirectory 2023-02-10 17:15:23 -06:00
dw-edma-core.h dmaengine: dw-edma: Use DMA engine device debugfs subdirectory 2023-02-10 17:15:23 -06:00
dw-edma-pcie.c dmaengine: dw-edma: Add PCI bus address getter to the remote EP glue driver 2023-01-27 17:15:33 +01:00
dw-edma-v0-core.c dmaengine: dw-edma: Fix readq_ch() return value truncation 2023-02-10 17:15:23 -06:00
dw-edma-v0-core.h dmaengine: dw-edma: Use DMA engine device debugfs subdirectory 2023-02-10 17:15:23 -06:00
dw-edma-v0-debugfs.c dmaengine: dw-edma: Use DMA engine device debugfs subdirectory 2023-02-10 17:15:23 -06:00
dw-edma-v0-debugfs.h dmaengine: dw-edma: Use DMA engine device debugfs subdirectory 2023-02-10 17:15:23 -06:00
dw-edma-v0-regs.h dmaengine: dw-edma: Fix comments offset characters' alignment 2021-03-16 22:58:52 +05:30
Kconfig dmaengine: dw-edma: Fix build error without CONFIG_PCI_MSI 2019-06-12 10:22:02 +05:30
Makefile dmaengine: Add Synopsys eDMA IP PCIe glue-logic 2019-06-10 13:10:39 +05:30