From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F7E58B3.4050408@freescale.com> Date: Fri, 6 Apr 2012 10:45:07 +0800 From: Huang Shijie MIME-Version: 1.0 To: Shawn Guo Subject: Re: Using GPMI-NAND driver on iMX28 using 3.4-rc1? References: <20120404070157.GB24930@pengutronix.de> <20120404183314.GF17187@pengutronix.de> <4F7D3DB8.6080009@freescale.com> <1333628861.31825.22.camel@vkoul-udesk3> <20120406022305.GJ7264@S2101-09.ap.freescale.net> In-Reply-To: <20120406022305.GJ7264@S2101-09.ap.freescale.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Vinod Koul , Russell King - ARM Linux , Fabio Estevam , Wolfram Sang , linux-mtd@lists.infradead.org, Shawn Guo , Sam Gandhi , "linux-arm-kernel@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , hi, > Isn't it done in mxs_dma_tx_submit() already? The gpmi driver somehow > misses the call to dmaengine_submit() for some case? > I checked the code again. It seems I do not miss the call to dmaengine_submit(). There are five places where call the dmaengine_submit() by start_dma_with_bch_irq()/start_dma_without_bch_irq(): gpmi_send_command(),gpmi_send_data(),gpmi_read_data(), gpmi_send_page(), gpmi_read_page(). The gpmi nand code runs well in previous mxs-dma code. BR Huang Shijie