Skip to content

Commit

Permalink
[MTD] [NAND] S3C2410: Fix CFG debug order
Browse files Browse the repository at this point in the history
Fix NAND CFG debug order.

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
[ben-linux@fluff.org: Change andy@openmoko.com to andy@warmcat.com, subject cleanup]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Andy Green authored and Ben Dooks committed May 30, 2009
1 parent 2612e52 commit ae7304e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}

Expand Down

0 comments on commit ae7304e

Please sign in to comment.