Re: [PATCH v1 1/2] i3c: Remove the const qualifier from i2c_msg pointer in i2c_xfers API

From: Wolfram Sang
Date: Wed Jan 22 2025 - 02:22:07 EST



> what we need is only i2c_xfers->buf to be DMA-safe, not the *i2c_xfers.
> Right ?

Yes.

> Also I guess same change is required for all the vendor drivers. But Not
> sure if it's feasible with this patch ?

I also wondered if the I3C core should maybe provide this, but then I
saw that currently only the mipi-hci driver uses DMA and concluded that
per-driver is better. At least for now.

Attachment: signature.asc
Description: PGP signature