diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2026-02-07 23:08:21 +0800 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-04-09 18:33:50 +0200 |
| commit | 5b74da8e6cf7e2b5aed0836c733238c0fd7235af (patch) | |
| tree | b7bbb72019fff2c1db5cd521f67c292508476f21 /tools/lib/python/feat | |
| parent | dd0422eb1566a823587ede7780aef9c9c7a45b04 (diff) | |
i2c: spacemit: move i2c_xfer_msg()
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().
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260207-b4-k3-i2c-pio-v7-1-626942d94d91@linux.spacemit.com
Diffstat (limited to 'tools/lib/python/feat')
0 files changed, 0 insertions, 0 deletions
