浏览代码

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>
Nicolas Ferre 14 年之前
父节点
当前提交
cc52a10a04
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/dma/at_hdmac.c

+ 2 - 1
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);