aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-04-30 10:57:47 -0400
committerVinod Koul <vinod.koul@intel.com>2011-05-02 06:12:09 -0400
commitcc52a10a048fc1fbe4ffba58c2f0afc79ae0f56f (patch)
tree9c505ff509f1ff679ce7b95dc9bcc8468d61d3b6
parent53830cc75974a199b6b654c062ff8c54c58caa0b (diff)
dmaengine: at_hdmac: debug information sg_len for prep_slave_sg
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/at_hdmac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index ed9d92429de8..8f50a0fb79e7 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -687,7 +687,8 @@ atc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
687 struct scatterlist *sg; 687 struct scatterlist *sg;
688 size_t total_len = 0; 688 size_t total_len = 0;
689 689
690 dev_vdbg(chan2dev(chan), "prep_slave_sg: %s f0x%lx\n", 690 dev_vdbg(chan2dev(chan), "prep_slave_sg (%d): %s f0x%lx\n",
691 sg_len,
691 direction == DMA_TO_DEVICE ? "TO DEVICE" : "FROM DEVICE", 692 direction == DMA_TO_DEVICE ? "TO DEVICE" : "FROM DEVICE",
692 flags); 693 flags);
693 694