Re: [PATCH v3 2/2] i2c: mediatek: Use DMA safe buffers for i2c transactions

2018-09-06 Thread Wolfram Sang
On Thu, Sep 06, 2018 at 09:15:29PM +0800, Jun Gao wrote: > From: Jun Gao > > 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 Applied to for-next, thanks! signature.asc Descrip

[PATCH v3 2/2] i2c: mediatek: Use DMA safe buffers for i2c transactions

2018-09-06 Thread Jun Gao
From: Jun Gao 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 --- drivers/i2c/busses/i2c-mt65xx.c | 62 - 1 file changed, 55 insertions(+), 7 de