Re: [PATCH V2 2/2] dmaengine: Add driver for IMG MDC

From: Andrew Bresticker
Date: Mon Dec 08 2014 - 01:14:18 EST


On Sun, Dec 7, 2014 at 3:48 AM, Vinod Koul <vinod.koul@xxxxxxxxx> wrote:
> On Fri, Dec 05, 2014 at 10:30:53AM -0800, Andrew Bresticker wrote:
>> After adding a macro for setting the WIDTH_{R,W} fields it seems fine
>> to me. Is there something else you had in mind?
> I think whole of this might be a macro :)
>
>
>> > and this depends on dma_slave_config being set, which shouldn't be the case
>> > for memcpy

> okay looking back yes it depends on bus_width. But how is bus_width set, i
> thought the dma_slave_config will set that?

The MDC's memory bus width is read from a HW register and set in probe().
--
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/