i2c: Clarify behavior of I2C_M_RD flag
Subsystems (2)
PATCH v2 1/1 i2c: Clarify behavior of I2C_M_RD flag
Update the description of I2C_M_RD to clarify that not setting it signals a write transaction
Signed-off-by I Viswanath <[email protected]>
--- include/uapi/linux/i2c.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/uapi/linux/i2c.h +2 -1
@@ -21,7 +21,8 @@* * @flags: * Supported by all adapters: -* %I2C_M_RD: read data (from slave to master). Guaranteed to be 0x0001! +* %I2C_M_RD: read data (from slave to master). Guaranteed to be 0x0001! If +* not set, the transaction is interpreted as write. * * Optional: * %I2C_M_DMA_SAFE: the buffer of this message is DMA safe. Makes sense only
Signature · 1 line
2.49.0