Skip to contentSkip to conversation

mtd: nand: davinci: fix to use mask_ale from pdata

PATCH In review Hemant Pedanekar 4 participants 4 messages Oct 1, 2009 – Oct 9, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: nand: davinci: fix to use mask_ale from pdata

Correct typo to use mask_ale from platform data when set to non-zero.

---
 drivers/mtd/nand/davinci_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/davinci_nand.c +1 -1
index 0fad648..20b04a2 100644
@@ -571,7 +571,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
 	info->mask_chipsel	= pdata->mask_chipsel;
 
 	/* use nandboot-capable ALE/CLE masks by default */
-	info->mask_ale		= pdata->mask_cle ? : MASK_ALE;
+	info->mask_ale		= pdata->mask_ale ? : MASK_ALE;
 	info->mask_cle		= pdata->mask_cle ? : MASK_CLE;
 
 	/* Set address of hardware control function */
Signature · 1 line
1.6.2.4
#1 lore raw
Quoted 3 lines · Hemant Pedanekar

Correct typo to use mask_ale from platform data when set to non-zero.

Could this fix be queued for the .32-rc series please?

Thanks,

Kevin

Quoted 24 lines
---
 drivers/mtd/nand/davinci_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/davinci_nand.c +1 -1
index 0fad648..20b04a2 100644
@@ -571,7 +571,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
 	info->mask_chipsel	= pdata->mask_chipsel;
 
 	/* use nandboot-capable ALE/CLE masks by default */
-	info->mask_ale		= pdata->mask_cle ? : MASK_ALE;
+	info->mask_ale		= pdata->mask_ale ? : MASK_ALE;
 	info->mask_cle		= pdata->mask_cle ? : MASK_CLE;
 
 	/* Set address of hardware control function */
Signature · 6 lines
1.6.2.4

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
#2 lore raw

Andrew,

Could you please apply this patch to the -mm tree and thus queue it up for 2.6.32-rc series?

Thanks
Sneha

Quoted 57 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Kevin Hilman
Sent: Thursday, October 08, 2009 11:16 AM
To: Pedanekar, Hemant
Cc: [email protected]; davinci-linux-open- [email protected]; [email protected]; linux- [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] mtd: nand: davinci: fix to use mask_ale from pdata

Quoted 3 lines · Hemant Pedanekar

Correct typo to use mask_ale from platform data when set to non-zero.

Could this fix be queued for the .32-rc series please?

Thanks,

Kevin

Review

Quoted 5 lines
---
 drivers/mtd/nand/davinci_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/drivers/mtd/nand/davinci_nand.c

drivers/mtd/nand/davinci_nand.c static int __init nand_davinci_probe(struct

Quoted 4 lines

index 0fad648..20b04a2 100644

drivers/mtd/nand/davinci_nand.c +0 -0
@@ -571,7 +571,7 @@ static int __init nand_davinci_probe(struct

platform_device *pdev)

Quoted 11 lines
drivers/mtd/nand/davinci_nand.c +1 -2
 	info->mask_chipsel	= pdata->mask_chipsel;
 
 	/* use nandboot-capable ALE/CLE masks by default */
-	info->mask_ale		= pdata->mask_cle ? : MASK_ALE;
+	info->mask_ale		= pdata->mask_ale ? : MASK_ALE;
 	info->mask_cle		= pdata->mask_cle ? : MASK_CLE;
 
 	/* Set address of hardware control function */
--

1.6.2.4

Quoted 4 lines

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

#3 lore raw
Quoted 3 lines · Snehaprabha

Andrew,

Could you please apply this patch to the -mm tree and thus queue it up for 2.6.32-rc series?

FYI, this patch is already in the mtd-2.6.git tree. So you should bug dwmw2 to push it to rc3

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)