]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: add a message flag for DMA safe buffers
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 4 Nov 2017 20:20:01 +0000 (21:20 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 3 Dec 2017 19:47:33 +0000 (20:47 +0100)
commit658f85b4496458d871e948cf1be4b0a4ec27d6b2
tree11ef5aef08fb208c3152812c36ecb5bedfa95dd1
parent86c9471ee69d42b977b4992ddefa81ce300f1a65
i2c: add a message flag for DMA safe buffers

I2C has no requirement that the buffer of a message needs to be DMA
safe. In case it is, it can now be flagged, so drivers wishing to
do DMA can use the buffer directly.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
include/uapi/linux/i2c.h