From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Fri, 26 Jul 2013 02:38:27 +0000 Subject: Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error Message-Id: <20130726023827.GA32490@verge.net.au> List-Id: References: <1373422152-29976-1-git-send-email-horms+renesas@verge.net.au> <20130716012041.GA942@verge.net.au> <20130723023907.GC14983@quad.lixom.net> <20130723041220.GA22253@verge.net.au> <87zjtddgtg.wl%kuninori.morimoto.gx@renesas.com> <20130724034009.GA18355@verge.net.au> <87d2q8v6fs.wl%kuninori.morimoto.gx@renesas.com> <87bo5sv63u.wl%kuninori.morimoto.gx@renesas.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: Kuninori Morimoto , Olof Johansson , Linux-SH , linux-kernel@vger.kernel.org On Wed, Jul 24, 2013 at 10:43:44AM +0200, Guennadi Liakhovetski wrote: > Hi Morimoto-san > > On Tue, 23 Jul 2013, Kuninori Morimoto wrote: > > > sh_desc->hw.tcr is controlling real data size, > > and, register TCR is controlling data transfer count > > which was xmit_shifted value of hw.tcr. > > Current sh_dmae_get_partial() is calculating in different unit. > > This patch fixes it. > > > > Signed-off-by: Kuninori Morimoto > > Looks right to me > > Acked-by: Guennadi Liakhovetski Thanks, I will queue this up for v3.11 in the fixes-for-v3.11 branch.