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: http://git.lede-project.org./?a=commitdiff_plain;h=9b62d864314736fb6cc5c5db5b964d4a3c093424;p=openwrt%2Fstaging%2Fblogic.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