Re: [PATCH 2/2] dw_dmac: return proper residue value

From: Viresh Kumar
Date: Wed Jan 23 2013 - 05:24:29 EST


On 23 January 2013 15:50, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> What about to calc len every time from lli.* instead of keeping it in
> the len field of the descriptor?

That's even bad.. we spend time on something for no good reason. :)
I would still suggest you to add len and total_len in descriptor :)
--
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/