Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce5a111a authored by Helia Correia's avatar Helia Correia Committed by Wolfram Sang
Browse files

Documentation: i2c: Remove obsolete example



Documentation/i2c/fault-codes illustrates EINVAL error code
as follows:

"One example would be a driver trying an SMBus Block Write
with block size outside the range of 1-32 bytes."

However, the actual implementation of i2c subsystem truncates
data length to be 32 bytes.
Hence this example cannot happen anymore, and since it's obsolete,
let's simply remove it from Documentation/i2c/fault-codes.

Signed-off-by: default avatarHelia Correia <helia.correia@intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 5915dbf4
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -64,9 +64,6 @@ EINVAL
	detected before any I/O operation was started.  Use a more
	detected before any I/O operation was started.  Use a more
	specific fault code when you can.
	specific fault code when you can.


	One example would be a driver trying an SMBus Block Write
	with block size outside the range of 1-32 bytes.

EIO
EIO
	This rather vague error means something went wrong when
	This rather vague error means something went wrong when
	performing an I/O operation.  Use a more specific fault
	performing an I/O operation.  Use a more specific fault