[MTD] NAND nand_base: Fix shift for bad block check (16bit devices only)
authorVitaly Wool <vwool@ru.mvista.com>
Wed, 2 Nov 2005 16:54:46 +0000 (16:54 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 7 Nov 2005 01:15:21 +0000 (02:15 +0100)
commit49196f3332e661ccc221734c3103115d8cd4ee49
treea3bc3c5304dbf6945479821a124dc5ba03475fe3
parent46d0d0fb61ec6630dc2c844e3c5bf5ef44dedcbe
[MTD] NAND nand_base: Fix shift for bad block check (16bit devices only)

In case of an odd offset, the result was shifted by 1 instead of 8

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c