From: Wolfram Sang Date: Sun, 29 Oct 2023 19:41:43 +0000 (+0100) Subject: Documentation: i2c: add fault code for not supporting 10 bit addresses X-Git-Tag: v6.7-rc1~56^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0161ee9dd38aafad6260ccb47bdc3e1b975eddbf;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Wolfram Sang --- diff --git a/Documentation/i2c/fault-codes.rst b/Documentation/i2c/fault-codes.rst index 80b14e718b525..b0864d1268bd4 100644 --- a/Documentation/i2c/fault-codes.rst +++ b/Documentation/i2c/fault-codes.rst @@ -39,6 +39,10 @@ Also, codes returned by adapter probe methods follow rules which are specific to their host bus (such as PCI, or the platform bus). +EAFNOSUPPORT + Returned by I2C adapters not supporting 10 bit addresses when + they are requested to use such an address. + EAGAIN Returned by I2C adapters when they lose arbitration in master transmit mode: some other master was transmitting different