mtd: onenand:fix for page addr calculation based on device type
authorRohit Hassan Sathyanarayan <rohit.hs@samsung.com>
Fri, 23 Jul 2010 06:59:25 +0000 (12:29 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:10:09 +0000 (09:10 +0100)
commit42b0aab1cc30b2fa7e0a99b832bd1b5c9b59757d
tree1040828100cc2075c8edf8a79ed13e0a7d0d13d3
parent02ed70bb7b2644936959aee617296022dedb109e
mtd: onenand:fix for page addr calculation based on device type

Sending the patch for page address calculation based on device type. This resolves the
OneNAND DDP device read problem as pointed by Enric.
http://lists.infradead.org/pipermail/linux-mtd/2010-July/030920.html

Signed-off-by: Rohit HS <rohit.hs@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/onenand_base.c