Skip to content
Commit fc66b39f authored by Jun Gao's avatar Jun Gao Committed by Wolfram Sang
Browse files

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: default avatarJun Gao <jun.gao@mediatek.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 9cbeeca0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment