瀏覽代碼

[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 年之前
父節點
當前提交
9b62d86431
共有 1 個文件被更改,包括 1 次插入1 次删除
  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