mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
[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:
parent
c3b25b32e8
commit
9b62d86431
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user