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
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.