[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>
This commit is contained in:
Eric Miao 2008-05-21 17:26:15 +08:00 committed by David Woodhouse
parent c3b25b32e8
commit 9b62d86431

View 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