aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:10:02 +0000
committerAndy Green <andy@openmoko.com>2008-11-19 17:10:02 +0000
commit62530373240149883720de4fbda2a60444ddee80 (patch)
tree6fe596874f8f634642d3f49045f4bdc0c2708fa6 /drivers/mtd
parent6766f89d034d8e371159119e6f803147b709ce1a (diff)
tracking-2.6.27-rc1-broken-cfg-uninit-nand.patch
Signed-off-by: Andy Green <andy@openmoko.com>
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;