[MTD] [NAND] pxa: fix incorrect calling of pxa3xx_nand_config() on resume path
authorEric Miao <eric.miao@marvell.com>
Wed, 21 May 2008 09:26:15 +0000 (17:26 +0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 4 Jun 2008 16:37:25 +0000 (17:37 +0100)
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/pxa3xx_nand.c

index fceb468ccdecd48324e2b31f4114bb3a201bc86d..fe2bc7e421191a061020d6f0dda7731d1c2bd819 100644 (file)
@@ -1216,7 +1216,7 @@ static int pxa3xx_nand_resume(struct platform_device *pdev)
 
        clk_enable(info->clk);
 
-       return pxa3xx_nand_config_flash(info);
+       return pxa3xx_nand_config_flash(info, info->flash_info);
 }
 #else
 #define pxa3xx_nand_suspend    NULL