[PATCH] pxa: fix the incorrect calling of pxa3xx_nand_config() on resume path

eric miao eric.y.miao at gmail.com
Wed May 21 05:30:03 EDT 2008


>From b23139b5e9d39b5fea306f4429bcaa6d075d284b Mon Sep 17 00:00:00 2001
From: Eric Miao <eric.miao at marvell.com>
Date: Wed, 21 May 2008 17:26:15 +0800
Subject: [PATCH] pxa: fix the incorrect calling of
pxa3xx_nand_config() on resume path

Signed-off-by: Eric Miao <eric.miao at marvell.com>
---

David, this is a fix and I hope this can be merged soon during this
-rc period, thanks.

 drivers/mtd/nand/pxa3xx_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index fceb468..fe2bc7e 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
-- 
1.5.4.3



-- 
Cheers
- eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pxa-fix-the-incorrect-calling-of-pxa3xx_nand_config.patch
Type: text/x-diff
Size: 831 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080521/005d89b3/attachment.bin 


More information about the linux-mtd mailing list