projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2778fb1
)
hwmon: (emc1403) Fix I2C address range
author
Guenter Roeck
<guenter.roeck@ericsson.com>
Wed, 9 Feb 2011 19:51:29 +0000
(11:51 -0800)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Wed, 9 Feb 2011 21:45:52 +0000
(13:45 -0800)
I2C address range included 0x2a, which the chips do not support.
Replace with 0x29 which is supported but was missing.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/emc1403.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/emc1403.c
b/drivers/hwmon/emc1403.c
index 5dea9faa1656804e1be018d396e005b78ad77a02..cd2a6e437aecba36d2fa6f6a7022bfcd40e29d76 100644
(file)
--- a/
drivers/hwmon/emc1403.c
+++ b/
drivers/hwmon/emc1403.c
@@
-344,7
+344,7
@@
static int emc1403_remove(struct i2c_client *client)
}
static const unsigned short emc1403_address_list[] = {
- 0x18, 0x2
a
, 0x4c, 0x4d, I2C_CLIENT_END
+ 0x18, 0x2
9
, 0x4c, 0x4d, I2C_CLIENT_END
};
static const struct i2c_device_id emc1403_idtable[] = {