Merge branch 'i2c/for-current-fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang: "A driver fix and a documentation fix (which makes dependency handling for the next cycle easier)" * 'i2c/for-current-fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: octeon: Prevent error message on bus error dt-bindings: at24: sort manufacturers alphabetically
This commit is contained in:
commit
58bdf601c2
|
@ -38,9 +38,9 @@ Required properties:
|
|||
|
||||
"catalyst",
|
||||
"microchip",
|
||||
"nxp",
|
||||
"ramtron",
|
||||
"renesas",
|
||||
"nxp",
|
||||
"st",
|
||||
|
||||
Some vendors use different model names for chips which are just
|
||||
|
|
|
@ -233,6 +233,7 @@ static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read)
|
|||
return -EOPNOTSUPP;
|
||||
|
||||
case STAT_TXDATA_NAK:
|
||||
case STAT_BUS_ERROR:
|
||||
return -EIO;
|
||||
case STAT_TXADDR_NAK:
|
||||
case STAT_RXADDR_NAK:
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#define TWSI_CTL_AAK 0x04 /* Assert ACK */
|
||||
|
||||
/* Status values */
|
||||
#define STAT_ERROR 0x00
|
||||
#define STAT_BUS_ERROR 0x00
|
||||
#define STAT_START 0x08
|
||||
#define STAT_REP_START 0x10
|
||||
#define STAT_TXADDR_ACK 0x18
|
||||
|
|
Loading…
Reference in New Issue