Browse Source

[MTD] [NAND] pxa: fix incorrect calling of pxa3xx_nand_config() on resume path

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Eric Miao 17 years ago
parent
commit
9b62d86431
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/nand/pxa3xx_nand.c

+ 1 - 1
drivers/mtd/nand/pxa3xx_nand.c

@@ -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