[U-Boot] [PATCH 4/5] include: dma: Update the function description for dma_memcpy
tien.fong.chee at intel.com
tien.fong.chee at intel.com
Thu May 31 08:08:53 UTC 2018
From: Tien Fong Chee <tien.fong.chee at intel.com>
Update the dma_memcpy description on return argument for DMA330 driver.
Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
---
include/dma.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dma.h b/include/dma.h
index 0a0c9dd..b825c1e 100644
--- a/include/dma.h
+++ b/include/dma.h
@@ -79,8 +79,8 @@ int dma_get_device(u32 transfer_type, struct udevice **devp);
* @dst - destination pointer
* @src - souce pointer
* @len - data length to be copied
- * @return - on successful transfer returns no of bytes
- transferred and on failure return error code.
+ * @return - on successful transfer returns no of bytes or zero(for DMA330)
+ * transferred and on failure return error code.
*/
int dma_memcpy(struct udevice *dev, void *dst, void *src, size_t len);
--
2.2.0
More information about the U-Boot
mailing list