summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-11-04 23:20:02 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-12-03 22:47:44 +0300
commite94bc5d18be03dac8e9d73d30c5523728edeff76 (patch)
treeb27ccb2a6eced40136fb73208f3e77cb8809c8e7 /drivers/i2c/i2c-dev.c
parent521a72e1f2e8141d78e7699eaacda24e308ed428 (diff)
downloadlinux-e94bc5d18be03dac8e9d73d30c5523728edeff76.tar.xz
i2c: add helpers to ease DMA handling
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. 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>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions