Merge tag 'at24-4.17-updates-for-wolfram' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-4.17
"three new special cases for device tree compatible strings"
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user