On Thu, Nov 10, 2022 at 12:59:02AM +0100, Andrew Lunn wrote: > Recent changes to the DMA code has resulting in the IMX driver failing > I2C transfers when the buffer has been vmalloc. Only perform DMA > transfers if the message has the I2C_M_DMA_SAFE flag set, indicating > the client is providing a buffer which is DMA safe. > > This is a minimal fix for stable. The I2C core provides helpers to > allocate a bounce buffer. For a fuller fix the master should make use > of these helpers. > > Fixes: 4544b9f25e70 ("dma-mapping: Add vmap checks to dma_map_single()") > Signed-off-by: Andrew Lunn <andrew@xxxxxxx> Applied to for-current, thanks!
Attachment:
signature.asc
Description: PGP signature