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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, December 16, 2009 - 12:01 pm

Gitweb:     http://git.kernel.org/linus/5cd0be8ec946ee3901e7f651a795225c6badff8f
Commit:     5cd0be8ec946ee3901e7f651a795225c6badff8f
Parent:     794d579ae17a7ec8028e4844096059c19431a96c
Author:     Hemant Pedanekar <hemantp@ti.com>
AuthorDate: Thu Oct 1 19:55:06 2009 +0530
Committer:  David Woodhouse <David.Woodhouse@intel.com>
CommitDate: Mon Oct 5 07:50:45 2009 +0100

    mtd: nand: davinci: fix to use mask_ale from pdata
    
    Correct typo to use mask_ale from platform data when set to non-zero.
    
    Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
    Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
 drivers/mtd/nand/davinci_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index f13f5b9..68cc924 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -599,7 +599,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 */
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mtd: nand: davinci: fix to use mask_ale from pdata, Linux Kernel Mailing ..., (Wed Dec 16, 12:01 pm)