[PATCH v6 5/9] i2c: add i2c_master_{send|recv}_dmasafe

2017-11-04 Thread Wolfram Sang
Use the new helper to create variants of i2c_master_{send|recv} which mark their buffers as DMA safe. Signed-off-by: Wolfram Sang --- include/linux/i2c.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index ef1a8791c

Re: [PATCH v6 5/9] i2c: add i2c_master_{send|recv}_dmasafe

2017-11-10 Thread Jonathan Cameron
On Sat, 4 Nov 2017 21:20:05 +0100 Wolfram Sang wrote: > Use the new helper to create variants of i2c_master_{send|recv} which > mark their buffers as DMA safe. > > Signed-off-by: Wolfram Sang Can't really argue with such a simple patch ;) Acked-by: Jonathan Cameron > --- > include/linux/i2c.