Skip to content

Commit

Permalink
[MTD] [NAND] pxa: fix incorrect calling of pxa3xx_nand_config() on re…
Browse files Browse the repository at this point in the history
…sume path

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Eric Miao authored and David Woodhouse committed Jun 4, 2008
1 parent c3b25b3 commit 9b62d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/pxa3xx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b62d86

Please sign in to comment.