Re: [PATCH 1/7] k3dma: Fix hisi burst clipping
From: Vinod Koul
Date: Sun Jul 24 2016 - 03:17:50 EST
On Wed, Jul 20, 2016 at 08:53:03PM -0700, John Stultz wrote:
> From: Andy Green <andy.green@xxxxxxxxxx>
>
> Max burst len is a 4-bit field, but at the moment it's clipped with
> a 5-bit constant... reduce it to that which can be expressed
Maybe we should GENMASK() etc to avoid these errors..
> if ((maxburst == 0) || (maxburst > 16))
> - val = 16;
> + val = 15;
--
~Vinod