Skip to content

Commit e01a8ba

Browse files
i3c: document i3c_xfers
i3c_xfers was left undocumented, document it. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://patch.msgid.link/20251202153804.2640623-2-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 4b011b5 commit e01a8ba

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

include/linux/i3c/master.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,11 @@ struct i3c_bus {
418418
* @send_ccc_cmd: send a CCC command
419419
* This method is mandatory.
420420
* @priv_xfers: do one or several private I3C SDR transfers
421-
* This method is mandatory.
421+
* This method is mandatory when i3c_xfers is not implemented. It
422+
* is deprecated.
423+
* @i3c_xfers: do one or several I3C SDR or HDR transfers
424+
* This method is mandatory when priv_xfers is not implemented but
425+
* should be implemented instead of priv_xfers.
422426
* @attach_i2c_dev: called every time an I2C device is attached to the bus.
423427
* This is a good place to attach master controller specific
424428
* data to I2C devices.

0 commit comments

Comments
 (0)