aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/s3c2410.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index caec66c06e6..37eab4281b2 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);
@@ -240,6 +238,8 @@ static int s3c2410_nand_setrate(struct s3c2410_nand_info *info)
cfg |= set;
writel(cfg, info->regs + S3C2410_NFCONF);
+ dev_dbg(info->device, "NF_CONF is 0x%lx\n", cfg);
+
local_irq_restore(flags);
return 0;