Re: [PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-08-16 Thread Wolfram Sang
Hi Jonathan, > I like the basic idea of this patch set a lot btw! Thanks! > Jonathan Could you delete irrelevant parts of the message, please? I nearly missed your other comment which would have been a great loss! > I'm trying to get my head around whether this is a sufficient set of >

Re: [PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-08-16 Thread Wolfram Sang
> Right: > > drivers/i2c/i2c-core-base.c:2310:15: error: 'i2c_release_bounce_buf' > undeclared here (not in a function) > EXPORT_SYMBOL_GPL(i2c_release_bounce_buf); Thanks. I am just now working on V4 currently which is a redesign. I'll write more in an hour or so. signature.asc

Re: [PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-08-16 Thread Geert Uytterhoeven
Hi Wolfram, On Tue, Jul 18, 2017 at 12:23 PM, Wolfram Sang wrote: > One helper checks if DMA is suitable and optionally creates a bounce > buffer, if not. The other function returns the bounce buffer and makes > sure the data is properly copied back to the

Re: [PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-07-23 Thread Jonathan Cameron
On Tue, 18 Jul 2017 12:23:36 +0200 Wolfram Sang wrote: > One helper checks if DMA is suitable and optionally creates a bounce > buffer, if not. The other function returns the bounce buffer and makes > sure the data is properly copied back to the message. > >

Re: [PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-07-19 Thread Niklas Söderlund
Hi Wolfram, On 2017-07-18 12:23:36 +0200, Wolfram Sang wrote: > One helper checks if DMA is suitable and optionally creates a bounce > buffer, if not. The other function returns the bounce buffer and makes > sure the data is properly copied back to the message. > > Signed-off-by: Wolfram Sang

[PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-07-18 Thread Wolfram Sang
One helper checks if DMA is suitable and optionally creates a bounce buffer, if not. The other function returns the bounce buffer and makes sure the data is properly copied back to the message. Signed-off-by: Wolfram Sang --- Changes since v2: * rebased to