mtd: MXC NAND driver fixes (v5)
authorVladimir Barinov <vova.barinov@gmail.com>
Thu, 23 Apr 2009 11:47:22 +0000 (15:47 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 29 May 2009 09:44:05 +0000 (10:44 +0100)
commit8541c1180a355c4da283fc6b03a92c0233823c1b
tree1adbdb65bc48478355b42ab025d1280f1110fe64
parentb5c42bc8db17db80917f99205a03c51f17354495
mtd: MXC NAND driver fixes (v5)

The following patch fixes:
 - re-initialization of host->col_addr which is used as byte index
   between the successive READID flash commands.
 - compile error when CONFIG_PM is enabled
 - pass on the error code from clk_get()
 - return -ENOMEM in case of failed ioremap()
 - pass on the return value of platform_driver_probe() directly
 - remove excessive printk
 - let command line partition table parsing with mxc_nand name.
   The cmd_line parsing is done via <mtd-id> name that differs
   from mxc_nand by default and looks like "NAND 256MiB 1,8V 8-bit"

Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com>
Signed-off-by: Lothar Wassmann <LW@KARO-electronics.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c