From patchwork Mon Aug 24 17:18:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Pedanekar X-Patchwork-Id: 31971 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id E06FEB7B61 for ; Tue, 25 Aug 2009 03:21:00 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MfdCG-0006wf-PS; Mon, 24 Aug 2009 17:19:08 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1MfdCA-0006vf-2Q for linux-mtd@lists.infradead.org; Mon, 24 Aug 2009 17:19:06 +0000 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id n7OHIsH6002728 for ; Mon, 24 Aug 2009 12:19:00 -0500 Received: from psplinux051.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n7OHInXg013390; Mon, 24 Aug 2009 22:48:50 +0530 (IST) Received: from psplinux051.india.ti.com (localhost [127.0.0.1]) by psplinux051.india.ti.com (8.13.1/8.13.1) with ESMTP id n7OHInAG021886; Mon, 24 Aug 2009 22:48:49 +0530 Received: (from a0393588@localhost) by psplinux051.india.ti.com (8.13.1/8.13.1/Submit) id n7OHInGx021882; Mon, 24 Aug 2009 22:48:49 +0530 From: Hemant Pedanekar To: linux-mtd@lists.infradead.org Subject: [PATCH] [MTD] [NAND] davinci: fix to use mask_ale from pdata Date: Mon, 24 Aug 2009 22:48:49 +0530 Message-Id: <1251134329-21780-1-git-send-email-hemantp@ti.com> X-Mailer: git-send-email 1.6.2.4 X-Spam-Score: 0.0 (/) Cc: davinci-linux-open-source@linux.davincidsp.com, hemantp@ti.com X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Corrected typo to use mask_ale from platform data when set to non-zero. Signed-off-by: Hemant Pedanekar --- 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 */