Skip to content

Commit 58bdf60

Browse files
committed
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
2 parents 20f1417 + 7c42467 commit 58bdf60

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Documentation/devicetree/bindings/eeprom/at24.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Required properties:
3838

3939
"catalyst",
4040
"microchip",
41+
"nxp",
4142
"ramtron",
4243
"renesas",
43-
"nxp",
4444
"st",
4545

4646
Some vendors use different model names for chips which are just

drivers/i2c/busses/i2c-octeon-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read)
233233
return -EOPNOTSUPP;
234234

235235
case STAT_TXDATA_NAK:
236+
case STAT_BUS_ERROR:
236237
return -EIO;
237238
case STAT_TXADDR_NAK:
238239
case STAT_RXADDR_NAK:

drivers/i2c/busses/i2c-octeon-core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define TWSI_CTL_AAK 0x04 /* Assert ACK */
4444

4545
/* Status values */
46-
#define STAT_ERROR 0x00
46+
#define STAT_BUS_ERROR 0x00
4747
#define STAT_START 0x08
4848
#define STAT_REP_START 0x10
4949
#define STAT_TXADDR_ACK 0x18

0 commit comments

Comments
 (0)