Skip to content

Commit 0161ee9

Browse files
Wolfram Sangwsakernel
authored andcommitted
Documentation: i2c: add fault code for not supporting 10 bit addresses
Document the specific fault code when 10 bit addresses cannot be supported. It is used for years, only the documentation slipped through the cracks. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 5ac61d2 commit 0161ee9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/i2c/fault-codes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Also, codes returned by adapter probe methods follow rules which are
3939
specific to their host bus (such as PCI, or the platform bus).
4040

4141

42+
EAFNOSUPPORT
43+
Returned by I2C adapters not supporting 10 bit addresses when
44+
they are requested to use such an address.
45+
4246
EAGAIN
4347
Returned by I2C adapters when they lose arbitration in master
4448
transmit mode: some other master was transmitting different

0 commit comments

Comments
 (0)