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

Signed-off-by: Eric Miao <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
Eric Miao 2008-05-21 17:26:15 +08:00 • committed by David Woodhouse
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