Commit c3ff7f06 authored by I Viswanath's avatar I Viswanath Committed by Wolfram Sang
Browse files

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: default avatarI Viswanath <viswanathiyyappan@gmail.com>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent 6b07ea71
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 only sense