From: Nicolas Ferre Date: Sat, 30 Apr 2011 14:57:47 +0000 (+0200) Subject: dmaengine: at_hdmac: debug information sg_len for prep_slave_sg X-Git-Tag: v3.0-rc1~27^2~4^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc52a10a048fc1fbe4ffba58c2f0afc79ae0f56f;p=thirdparty%2Flinux.git dmaengine: at_hdmac: debug information sg_len for prep_slave_sg Signed-off-by: Nicolas Ferre Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index ed9d92429de83..8f50a0fb79e7b 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, struct scatterlist *sg; size_t total_len = 0; - dev_vdbg(chan2dev(chan), "prep_slave_sg: %s f0x%lx\n", + dev_vdbg(chan2dev(chan), "prep_slave_sg (%d): %s f0x%lx\n", + sg_len, direction == DMA_TO_DEVICE ? "TO DEVICE" : "FROM DEVICE", flags);