ENGR00126158 GPMI: Fix error handling when no NAND found rel-imx-2.6.31-10.08.01
authorJason Liu <r64343@freescale.com>
Wed, 11 Aug 2010 04:39:06 +0000 (12:39 +0800)
committerFrank Li <Frank.Li@freescale.com>
Wed, 11 Aug 2010 05:45:17 +0000 (13:45 +0800)
commitc57e4f2be8c66cd40d8c8a40a907a5a051f973df
treea230244caa2ce88c0707e9af5665c50912795de1
parent66ed9d0b56a2cb56269b57ca0b9e659c28f6649b
ENGR00126158 GPMI: Fix error handling when no NAND found

There will be one oops when no NAND found for GPMI,
This patch fix it

Signed-off-by:Jason Liu <r64343@freescale.com>
(cherry picked from commit 0fc02d10c3dc90051bfbbdd1208b79499f9329fd)
drivers/mtd/nand/gpmi-nfc/gpmi-nfc-mil.c