From: Vinod Koul Subject: Re: [PATCH V2 2/2] dmaengine: tegra: add dma driver Date: Fri, 11 May 2012 14:11:53 +0530 Message-ID: <1336725713.15424.1856.camel@vkoul-udesk3> References: <1336030889-32269-1-git-send-email-ldewangan@nvidia.com> <1336030889-32269-3-git-send-email-ldewangan@nvidia.com> <1336558444.1540.243.camel@vkoul-udesk3> <4FAA4EA3.70001@nvidia.com> <1336620844.1540.269.camel@vkoul-udesk3> <4FAB4C7D.7030406@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FAB4C7D.7030406-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laxman Dewangan Cc: "dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org" , "grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org On Thu, 2012-05-10 at 10:35 +0530, Laxman Dewangan wrote: > But when we update the chan->completed_cookie for aborted cookie? > Otherwise I will get the DMA_IN_PROGRSS when I call dma_cookie_status() > but actually it is aborted. no in .device_tx_status, you should check if the descriptor is aborted or not and rteurn error for aborted descriptor. -- ~Vinod