mtd: atmel_nand: trivial: change DMA usage information trace

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Apr 7 05:59:02 EDT 2011


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=042bc9c0c434b61241ceda1d332e3076e2571859
Commit:     042bc9c0c434b61241ceda1d332e3076e2571859
Parent:     2130ad32a03f8d2d772cbbd94eff5358d8ab9e33
Author:     Nicolas Ferre <nicolas.ferre at atmel.com>
AuthorDate: Wed Mar 30 16:26:40 2011 +0800
Committer:  Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
CommitDate: Fri Apr 1 16:44:32 2011 +0300

    mtd: atmel_nand: trivial: change DMA usage information trace
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
---
 drivers/mtd/nand/atmel_nand.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 6fae04b..7e88a80 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");
 



More information about the linux-mtd-cvs mailing list