public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: davinci: fix to use mask_ale from pdata
@ 2009-10-01 14:25 Hemant Pedanekar
  2009-10-08 15:16 ` Kevin Hilman
  0 siblings, 1 reply; 4+ messages in thread
From: Hemant Pedanekar @ 2009-10-01 14:25 UTC (permalink / raw)
  To: dwmw2, dbrownell, akpm, Artem.Bityutskiy, linux-kernel, linux-mtd
  Cc: davinci-linux-open-source, hemantp

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

Signed-off-by: Hemant Pedanekar <hemantp@ti.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 0fad648..20b04a2 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -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 */
-- 
1.6.2.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-09  4:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 14:25 [PATCH] mtd: nand: davinci: fix to use mask_ale from pdata Hemant Pedanekar
2009-10-08 15:16 ` Kevin Hilman
2009-10-08 15:37   ` Narnakaje, Snehaprabha
2009-10-09  4:17     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox