fix typo in i2c smbus documentation
PATCH 1/1 fix typo in i2c smbus documentation
the i2c smbus documentation has a typo ... when it describes the "SMBus Write Word Data" function, it says that it is meant to "read from a device" when in reality it should obviously be writing to the device
btw, the i2c/smbus docs in Documentation/i2c/ are superb, thanks all :) -mike
Fix typo in SMBus Write Word Data description (write data, dont read it).
Documentation/i2c/smbus-protocol +1 -1
@@ -97,7 +97,7 @@ SMBus Write Word Data ===================== This is the opposite operation of the Read Word Data command. 16 bits -of data is read from a device, from a designated register that is +of data is written to a device to the designated register that is specified through the Comm byte. S Addr Wr [A] Comm [A] DataLow [A] DataHigh [A] P
Hi Mike,
Quoted 4 lines · Mike Frysinger
the i2c smbus documentation has a typo ... when it describes the "SMBus Write Word Data" function, it says that it is meant to "read from a device" when in reality it should obviously be writing to the device
Good catch, applied, thanks. I've also backported this fix to i2c-SVN and linux-2.4, as they also had the mistake.
Quoted 1 line
btw, the i2c/smbus docs in
Documentation/i2c/are superb, thanks all :)
You're welcome :)
--
Jean Delvare