commit | fc66b39fe36acfd06f716e338de7cd8f9550fad2 | [log] [tgz] |
---|---|---|
author | Jun Gao <jun.gao@mediatek.com> | Thu Sep 06 21:15:29 2018 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Sep 06 20:33:15 2018 +0200 |
tree | b3d80ba277025afffd1bfb253dcc12965f0797d1 | |
parent | 9cbeeca05049b1109e7e445369898b8a88d5ea7b [diff] |
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>