[PATCH v5 1/2] i2c: spacemit: replace i2c_xfer_msg()
Andi Shyti
andi.shyti at kernel.org
Sat Dec 27 11:45:31 PST 2025
Hi Troy,
On Fri, Dec 26, 2025 at 11:31:10AM +0800, Troy Mitchell wrote:
> The upcoming PIO support requires a wait_pio_xfer() helper, which is
> invoked from xfer_msg().
>
> Since wait_pio_xfer() depends on err_check(), move the definition of
> xfer_msg() after err_check() to avoid a forward declaration of
> err_check().
on the subject, this is clearly an i2c_xfer_msg move, not a
replace, right?
(if no v6 is coming, there is no need to resend for this, it can
be fixed before merging).
Andi
>
> Signed-off-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
More information about the linux-riscv
mailing list