lkml.org 
[lkml]   [2012]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/7] dw_dmac: fill optional encoded parameters in register structure
From
On Thu, Sep 20, 2012 at 12:32 PM, viresh kumar <viresh.kumar@linaro.org> wrote:
> On Thu, Sep 20, 2012 at 3:00 PM, Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
>>> Ok. If i am not wrong, such calls are only required once for below line:
>> Actually twice...
>>> dw_params = dma_raw_readl(regs, DW_PARAMS
>> ...here and for channel parameters.
>
> Till the time we hit channel code, we can allocate memory for dw and so
> can use dma_readl/writel. Isn't it?
Actually no. Becase we have the same name for 8 registers.

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2012-09-20 12:41    [W:0.099 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site