From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752491AbbI3OiQ (ORCPT ); Wed, 30 Sep 2015 10:38:16 -0400 Received: from smtp02.smtpout.orange.fr ([80.12.242.124]:29932 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbbI3OiM (ORCPT ); Wed, 30 Sep 2015 10:38:12 -0400 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Wed, 30 Sep 2015 16:38:10 +0200 X-ME-IP: 86.199.64.143 From: Robert Jarzmik To: Vinod Koul Cc: Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] dma: pxa_dma: fix residue corner case References: <1441905466-17459-1-git-send-email-robert.jarzmik@free.fr> <1441905466-17459-2-git-send-email-robert.jarzmik@free.fr> <20150930062044.GB21690@vkoul-mobl.iind.intel.com> X-URL: http://belgarath.falguerolles.org/ Date: Wed, 30 Sep 2015 16:33:01 +0200 In-Reply-To: <20150930062044.GB21690@vkoul-mobl.iind.intel.com> (Vinod Koul's message of "Wed, 30 Sep 2015 11:50:44 +0530") Message-ID: <87k2r8dlk2.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vinod Koul writes: > On Thu, Sep 10, 2015 at 07:17:46PM +0200, Robert Jarzmik wrote: >> A very tiny temporal window exists in the residue calculation where : >> - upon entering residue calculation, the transfer is ongoing >> - when reading the current transfer pointer, it just changed to >> the "finisher/linker" descriptor >> >> In this case, the he residue returned is thw whole transfer length >> instead of 0. Fix it. > Two many typos here :( Ah sorry for that, I'll resend a v2 today. Cheers. -- Robert