[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174008931866.597348.5955807457393482145.b4-ty@bootlin.com>
Date: Thu, 20 Feb 2025 23:09:01 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: pgaj@...ence.com, miquel.raynal@...tlin.com, conor.culhane@...vaco.com,
aniketmaurya@...gle.com, Shyam-sundar.S-k@....com,
jarkko.nikula@...ux.intel.com, wsa+renesas@...g-engineering.com,
xiaopei01@...inos.cn, Guruvendra.Punugupati@....com,
linux-i3c@...ts.infradead.org, linux-kernel@...r.kernel.org,
BMC-SW@...eedtech.com, Billy Tsai <billy_tsai@...eedtech.com>
Subject: Re: [PATCH v2 1/2] i3c: Remove the const qualifier from i2c_msg
pointer in i2c_xfers API
On Tue, 04 Feb 2025 17:17:01 +0800, Billy Tsai wrote:
> The change is necessary to enable the use of the
> `i2c_get_dma_safe_msg_buf()` API, which requires a non-const
> `struct i2c_msg *` to operate. The `i2c_get_dma_safe_msg_buf()` function
> ensures safe handling of I2C messages when using DMA, making it essential
> for scenarios where DMA transfers are involved. By removing the `const`
> qualifier, this patch allows drivers to prepare and manage DMA-safe
> buffers directly.
>
> [...]
Applied, thanks!
[1/2] i3c: Remove the const qualifier from i2c_msg pointer in i2c_xfers API
https://git.kernel.org/abelloni/c/6866c91f8c23
[2/2] i3c: mipi-i3c-hci: Use I2C DMA-safe api
https://git.kernel.org/abelloni/c/effed5dac8f8
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists