From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbdE3GRr (ORCPT ); Tue, 30 May 2017 02:17:47 -0400 Received: from mga02.intel.com ([134.134.136.20]:21343 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbdE3GRo (ORCPT ); Tue, 30 May 2017 02:17:44 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,417,1491289200"; d="scan'208";a="108541834" Date: Tue, 30 May 2017 11:50:05 +0530 From: Vinod Koul To: Kuninori Morimoto Cc: Dan Williams , Laurent Pinchart , Geert Uytterhoeven , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode Message-ID: <20170530062005.GL15061@localhost> References: <87shjwt5po.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87shjwt5po.wl%kuninori.morimoto.gx@renesas.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 23, 2017 at 07:08:43AM +0000, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > In descriptor mode, the descriptor running pointer is not maintained > by the interrupt handler, thus, driver finds the running descriptor > from the descriptor pointer field in the CHCRB register. > But, CHCRB::DPTR indicates *next* descriptor pointer, not current. > Thus, The residue calculation will be missed. This patch fixup it. Applied, thanks -- ~Vinod