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

From: Andy Shevchenko
Date: Wed Jan 23 2013 - 05:33:55 EST


On Wed, 2013-01-23 at 15:54 +0530, Viresh Kumar wrote:
> 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 :)

Okay, let's stick to this one for now.
I will come with patch v2 soon.

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
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/