Patchwork [2/3] MTD: atmel_nand: trivial: change DMA usage information trace

login
register
mail settings
Submitter Xu, Hong
Date March 30, 2011, 8:26 a.m.
Message ID <1301473601-29570-2-git-send-email-hong.xu@atmel.com>
Download mbox | patch
Permalink /patch/88885/
State Accepted
Commit 042bc9c0c434b61241ceda1d332e3076e2571859
Headers show

Comments

Xu, Hong - March 30, 2011, 8:26 a.m.
From: Nicolas Ferre <nicolas.ferre@atmel.com>

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/mtd/nand/atmel_nand.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Artem Bityutskiy - April 1, 2011, 12:51 p.m.
On Wed, 2011-03-30 at 16:26 +0800, Hong Xu wrote:
> From: Nicolas Ferre <nicolas.ferre@atmel.com>
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Pushed this patch to the l2-mtd-2.6.git tree, thanks.

Patch

diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 9acecdc..c36ea50 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -611,7 +611,8 @@  static int __init atmel_nand_probe(struct platform_device *pdev)
 		}
 	}
 	if (use_dma)
-		dev_info(host->dev, "Using DMA for NAND access.\n");
+		dev_info(host->dev, "Using %s for DMA transfers.\n",
+					dma_chan_name(host->dma_chan));
 	else
 		dev_info(host->dev, "No DMA support for NAND access.\n");