Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculationerror

From: Simon Horman
Date: Thu Jul 25 2013 - 22:38:41 EST


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 <kuninori.morimoto.gx@xxxxxxxxxxx>
>
> Looks right to me
>
> Acked-by: Guennadi Liakhovetski <g.liakhovetski+renesas@xxxxxxxxx>

Thanks, I will queue this up for v3.11 in the fixes-for-v3.11 branch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/