From patchwork Fri Sep 24 21:45:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Lo=C3=AFc_Minier?= X-Patchwork-Id: 207652 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8OM7g33014699 for ; Fri, 24 Sep 2010 22:07:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758057Ab0IXWHm (ORCPT ); Fri, 24 Sep 2010 18:07:42 -0400 Received: from duck.dooz.org ([194.146.227.125]:60865 "EHLO duck.dooz.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755297Ab0IXWHl (ORCPT ); Fri, 24 Sep 2010 18:07:41 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 24 Sep 2010 22:07:43 +0000 (UTC) X-Greylist: delayed 1343 seconds by postgrey-1.27 at vger.kernel.org; Fri, 24 Sep 2010 18:07:41 EDT Received: from bee.dooz.org (serris.dooz.org [88.166.229.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by duck.dooz.org (Postfix) with ESMTP id 24EAAC809C; Fri, 24 Sep 2010 23:45:17 +0200 (CEST) Received: by bee.dooz.org (Postfix, from userid 1000) id C4CBE605; Fri, 24 Sep 2010 23:45:13 +0200 (CEST) From: =?UTF-8?q?Lo=C3=AFc=20Minier?= To: linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org Cc: Tony Lindgren , Sukumar Ghorai , =?UTF-8?q?Lo=C3=AFc=20Minier?= Subject: [PATCH] nand: omap2: Missing arg to gpmc_prefetch_reset() Date: Fri, 24 Sep 2010 23:45:02 +0200 Message-Id: <1285364702-13922-1-git-send-email-loic.minier@linaro.org> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 133d515..513e0a7 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c @@ -413,7 +413,7 @@ static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr, prefetch_status = gpmc_read_status(GPMC_PREFETCH_COUNT); } while (prefetch_status); /* disable and stop the PFPW engine */ - gpmc_prefetch_reset(); + gpmc_prefetch_reset(info->gpmc_cs); dma_unmap_single(&info->pdev->dev, dma_addr, len, dir); return 0;