From 62530373240149883720de4fbda2a60444ddee80 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:10:02 +0000 Subject: tracking-2.6.27-rc1-broken-cfg-uninit-nand.patch Signed-off-by: Andy Green --- drivers/mtd/nand/s3c2410.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/mtd/nand') 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; -- cgit v1.2.3