[MTD] [NAND] S3C2410: Fix CFG debug order
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Jun 8 07:59:02 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=ae7304e554642d57993b32265b817e6ae80787de
Commit: ae7304e554642d57993b32265b817e6ae80787de
Parent: 2612e523dc3695df319662ff279806a3d74de375
Author: Andy Green <andy at warmcat.com>
AuthorDate: Sun May 10 15:42:02 2009 -0500
Committer: Ben Dooks <ben-linux at fluff.org>
CommitDate: Sat May 30 18:01:10 2009 +0100
[MTD] [NAND] S3C2410: Fix CFG debug order
Fix NAND CFG debug order.
Signed-off-by: Andy Green <andy at warmcat.com>
Signed-off-by: Nelson Castillo <arhuaco at freaks-unidos.net>
[ben-linux at fluff.org: Change andy at openmoko.com to andy at warmcat.com, subject cleanup]
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
---
drivers/mtd/nand/s3c2410.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 7be3663..87c40de 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -267,8 +267,6 @@ static int s3c2410_nand_setrate(struct s3c2410_nand_info *info)
BUG();
}
- dev_dbg(info->device, "NF_CONF is 0x%lx\n", cfg);
-
local_irq_save(flags);
cfg = readl(info->regs + S3C2410_NFCONF);
@@ -278,6 +276,8 @@ static int s3c2410_nand_setrate(struct s3c2410_nand_info *info)
local_irq_restore(flags);
+ dev_dbg(info->device, "NF_CONF is 0x%lx\n", cfg);
+
return 0;
}
More information about the linux-mtd-cvs
mailing list