Re: [PATCH 01/11] dmaengine: add context parameter toprep_slave_sgand prep_dma_cyclic

From: Russell King
Date: Mon Feb 06 2012 - 11:18:34 EST

On Mon, Feb 06, 2012 at 07:56:57AM -0800, Bounine, Alexandre wrote:
> At least corresponding inline functions may use specific data types
> or hide the new parameter like in Russell's code example. (I believe
> he forgot to pass NULL in chan->device->device_prep_slave_sg() as
> the new param there).

No I didn't - I gave a step by step approach. Step one is to intrduce
the wrapper with no API changes at all fixing up everyone to use the

Step two is where the call in struct dma_device changes.

Russell King
Linux kernel 2.6 ARM Linux -
maintainer of:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at