[PATCH 7/9] s3c2410: Fix NAND CFG debug order
Nelson Castillo
arhuaco at freaks-unidos.net
Tue Mar 31 20:07:33 CEST 2009
Fix NAND CFG debug order.
Signed-off-by: Andy Green <andy at openmoko.com>
---
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 65ccf17..f841b07 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -231,8 +231,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);
@@ -242,6 +240,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 openmoko-kernel
mailing list