From: Dinh Nguyen <dinguyen@kernel.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 3/4] dm: add DMA_SUPPORTS_DEV_TO_MEM type to DMA_UCLASS
Date: Mon, 10 Oct 2016 10:52:22 -0500 [thread overview]
Message-ID: <20161010155223.23751-4-dinguyen@kernel.org> (raw)
In-Reply-To: <20161010155223.23751-1-dinguyen@kernel.org>
From: Dinh Nguyen <dinguyen@opensource.altera.com>
Add DMA_SUPPORTS_DEV_TO_MEM type to the DMA uclass.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
drivers/dma/dma-uclass.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c
index ea21fd9..a021395 100644
--- a/drivers/dma/dma-uclass.c
+++ b/drivers/dma/dma-uclass.c
@@ -49,7 +49,8 @@ int dma_memcpy(void *dst, void *src, size_t len)
const struct dma_ops *ops;
int ret;
- ret = dma_get_device(DMA_SUPPORTS_MEM_TO_MEM, &dev);
+ ret = dma_get_device(DMA_SUPPORTS_MEM_TO_MEM |
+ DMA_SUPPORTS_DEV_TO_MEM, &dev);
if (ret < 0)
return ret;
--
2.8.3
next prev parent reply other threads:[~2016-10-10 15:52 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-10 15:52 [U-Boot] [RFC] 0/4] Add Pl330 DMA support Dinh Nguyen
2016-10-10 15:52 ` [U-Boot] [RFC 1/4] drivers: dma: Add the ARM PL330 DMA driver Dinh Nguyen
2016-10-12 16:04 ` Chin Liang See
2016-10-10 15:52 ` [U-Boot] [RFC 2/4] dma: Kconfig: Add CONFIG_PL330_DMA entry Dinh Nguyen
2016-10-12 16:05 ` Chin Liang See
2016-10-14 15:17 ` Marek Vasut
2016-10-10 15:52 ` Dinh Nguyen [this message]
2016-10-13 0:03 ` [U-Boot] [RFC 3/4] dm: add DMA_SUPPORTS_DEV_TO_MEM type to DMA_UCLASS Simon Glass
2016-10-14 15:20 ` Marek Vasut
2016-10-10 15:52 ` [U-Boot] [RFC 4/4] arm: socfpga: scrub the SDRAM to properly enable ECC support Dinh Nguyen
2016-10-12 16:13 ` Chin Liang See
2016-10-16 16:03 ` Marek Vasut
2016-10-14 7:23 ` [U-Boot] [RFC] 0/4] Add Pl330 DMA support Marek Vasut
2016-10-14 13:08 ` Dinh Nguyen
2016-10-14 15:09 ` Marek Vasut
2016-10-14 22:13 ` Dinh Nguyen
2016-10-15 16:43 ` Marek Vasut
2016-10-14 22:10 ` Dinh Nguyen
2016-10-16 15:59 ` Marek Vasut
2016-10-18 15:50 ` Dinh Nguyen
2016-10-18 18:36 ` Marek Vasut
2016-10-29 19:59 ` Marek Vasut
2016-11-01 15:43 ` Dinh Nguyen
2016-11-01 20:09 ` Marek Vasut
2016-11-01 20:39 ` Dinh Nguyen
2016-11-01 20:42 ` Marek Vasut
2016-11-01 20:43 ` Dinh Nguyen
2016-11-02 16:30 ` Dinh Nguyen
2016-11-02 20:47 ` Marek Vasut
2016-11-03 14:21 ` Dinh Nguyen
2016-11-04 20:56 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161010155223.23751-4-dinguyen@kernel.org \
--to=dinguyen@kernel.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.