Skip to contentSkip to conversation

davinci: fix to use mask_ale from pdata

PATCH New Hemant Pedanekar 1 participant 1 message Aug 24, 2009

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

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

Corrected 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