diff options
author | Jun Gao <jun.gao@mediatek.com> | 2018-09-06 21:15:29 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-09-06 20:33:15 +0200 |
commit | fc66b39fe36acfd06f716e338de7cd8f9550fad2 (patch) | |
tree | b3d80ba277025afffd1bfb253dcc12965f0797d1 /drivers/i2c/busses/i2c-sirf.c | |
parent | 9cbeeca05049b1109e7e445369898b8a88d5ea7b (diff) | |
download | linux-fc66b39fe36acfd06f716e338de7cd8f9550fad2.tar.bz2 |
i2c: mediatek: Use DMA safe buffers for i2c transactions
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao <jun.gao@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-sirf.c')
0 files changed, 0 insertions, 0 deletions