Re: [PATCH] i2c: i2c-qcom-geni: Properly handle DMA safe buffers
From: Stephen Boyd
Date: Thu Sep 20 2018 - 01:14:52 EST
Quoting Wolfram Sang (2018-09-19 13:45:28)
>
> > But now when I try to use it I'm not exicted when the buffer is bounced
> > but we fail to map the buffer with the DMA APIs. For an I2C_M_RD
>
> Yes, this was reported before and the function to unmap looks different
> now as of v4.19-rc2...
>
> > the buffer that we setup. Or we can pass an argument to
> > i2c_release_dma_safe_msg_buf() to indicate if we should do the memcpy or
> > not?
>
> ... exactly like this :)
>
Ok great. I haven't synced to the latest stuff. I'll resend this
tomorrow when I test again.