diff options
-rw-r--r-- | MAINTAINERS | 6 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ocores.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 7e3a38eeccbf..f4cf0148c901 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -2063,6 +2063,12 @@ M: adaplas@pol.net | |||
2063 | L: linux-fbdev-devel@lists.sourceforge.net | 2063 | L: linux-fbdev-devel@lists.sourceforge.net |
2064 | S: Maintained | 2064 | S: Maintained |
2065 | 2065 | ||
2066 | OPENCORES I2C BUS DRIVER | ||
2067 | P: Peter Korsgaard | ||
2068 | M: jacmet@sunsite.dk | ||
2069 | L: lm-sensors@lm-sensors.org | ||
2070 | S: Maintained | ||
2071 | |||
2066 | ORACLE CLUSTER FILESYSTEM 2 (OCFS2) | 2072 | ORACLE CLUSTER FILESYSTEM 2 (OCFS2) |
2067 | P: Mark Fasheh | 2073 | P: Mark Fasheh |
2068 | M: mark.fasheh@oracle.com | 2074 | M: mark.fasheh@oracle.com |
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index d5c0610bfe6d..592824087c49 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c | |||
@@ -38,8 +38,8 @@ struct ocores_i2c { | |||
38 | #define OCI2C_PREHIGH 1 | 38 | #define OCI2C_PREHIGH 1 |
39 | #define OCI2C_CONTROL 2 | 39 | #define OCI2C_CONTROL 2 |
40 | #define OCI2C_DATA 3 | 40 | #define OCI2C_DATA 3 |
41 | #define OCI2C_CMD 4 | 41 | #define OCI2C_CMD 4 /* write only */ |
42 | #define OCI2C_STATUS 4 | 42 | #define OCI2C_STATUS 4 /* read only, same address as OCI2C_CMD */ |
43 | 43 | ||
44 | #define OCI2C_CTRL_IEN 0x40 | 44 | #define OCI2C_CTRL_IEN 0x40 |
45 | #define OCI2C_CTRL_EN 0x80 | 45 | #define OCI2C_CTRL_EN 0x80 |
@@ -209,8 +209,6 @@ static struct i2c_adapter ocores_adapter = { | |||
209 | .name = "i2c-ocores", | 209 | .name = "i2c-ocores", |
210 | .class = I2C_CLASS_HWMON, | 210 | .class = I2C_CLASS_HWMON, |
211 | .algo = &ocores_algorithm, | 211 | .algo = &ocores_algorithm, |
212 | .timeout = 2, | ||
213 | .retries = 1, | ||
214 | }; | 212 | }; |
215 | 213 | ||
216 | 214 | ||