Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-30 Thread Simon Horman
On Tue, Jul 30, 2013 at 11:22:31AM +0200, Guennadi Liakhovetski wrote: > Hi Simon > > On Tue, 30 Jul 2013, Simon Horman wrote: > > > [ Cc Vinod ] > > > > On Tue, Jul 23, 2013 at 11:12:41PM -0700, Kuninori Morimoto wrote: > > > sh_desc->hw.tcr is controlling real data size, > > > and, register TC

Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-30 Thread Guennadi Liakhovetski
Hi Simon On Tue, 30 Jul 2013, Simon Horman wrote: > [ Cc Vinod ] > > On Tue, Jul 23, 2013 at 11:12:41PM -0700, 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. > > Curr

Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-30 Thread Simon Horman
[ Cc Vinod ] On Tue, Jul 23, 2013 at 11:12:41PM -0700, 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

Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-25 Thread Simon Horman
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. > >

Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-24 Thread Guennadi Liakhovetski
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.

[PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-23 Thread Kuninori Morimoto
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 --- >> Guennadi Could you please check