From: Eric Miao Date: Wed, 21 May 2008 09:26:15 +0000 (+0800) Subject: [MTD] [NAND] pxa: fix incorrect calling of pxa3xx_nand_config() on resume path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b62d864314736fb6cc5c5db5b964d4a3c093424;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [MTD] [NAND] pxa: fix incorrect calling of pxa3xx_nand_config() on resume path Signed-off-by: Eric Miao Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index fceb468ccdec..fe2bc7e42119 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/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