Skip to content

Commit 9280b6e

Browse files
nxpfranklialexandrebelloni
authored andcommitted
i3c: Switch to use new i3c_xfer from i3c_priv_xfer
Switch to use i3c_xfer instead of i3c_priv_xfer because framework update to support HDR mode. i3c_priv_xfer is now an alias of i3c_xfer. Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251106-i3c_ddr-v11-2-33a6a66ed095@nxp.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 256a217 commit 9280b6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/i3c/device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* These are the standard error codes as defined by the I3C specification.
2828
* When -EIO is returned by the i3c_device_do_priv_xfers() or
2929
* i3c_device_send_hdr_cmds() one can check the error code in
30-
* &struct_i3c_priv_xfer.err or &struct i3c_hdr_cmd.err to get a better idea of
30+
* &struct_i3c_xfer.err or &struct i3c_hdr_cmd.err to get a better idea of
3131
* what went wrong.
3232
*
3333
*/
@@ -312,7 +312,7 @@ int i3c_device_do_xfers(struct i3c_device *dev, struct i3c_xfer *xfers,
312312
int nxfers, enum i3c_xfer_mode mode);
313313

314314
static inline int i3c_device_do_priv_xfers(struct i3c_device *dev,
315-
struct i3c_priv_xfer *xfers,
315+
struct i3c_xfer *xfers,
316316
int nxfers)
317317
{
318318
return i3c_device_do_xfers(dev, xfers, nxfers, I3C_SDR);

0 commit comments

Comments
 (0)