diff options
-rw-r--r-- | Documentation/hwmon/lm90 | 2 | ||||
-rw-r--r-- | drivers/hwmon/lm90.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/hwmon/lm90 b/Documentation/hwmon/lm90 index 438cb24cee5b..ba3e94b7117b 100644 --- a/Documentation/hwmon/lm90 +++ b/Documentation/hwmon/lm90 | |||
@@ -141,7 +141,7 @@ SMBus Read Byte, and PEC will work properly. | |||
141 | Additionally, the ADM1032 doesn't support SMBus Send Byte with PEC. | 141 | Additionally, the ADM1032 doesn't support SMBus Send Byte with PEC. |
142 | Instead, it will try to write the PEC value to the register (because the | 142 | Instead, it will try to write the PEC value to the register (because the |
143 | SMBus Send Byte transaction with PEC is similar to a Write Byte transaction | 143 | SMBus Send Byte transaction with PEC is similar to a Write Byte transaction |
144 | without PEC), which is not what we want. Thus, PEC is explicitely disabled | 144 | without PEC), which is not what we want. Thus, PEC is explicitly disabled |
145 | on SMBus Send Byte transactions in the lm90 driver. | 145 | on SMBus Send Byte transactions in the lm90 driver. |
146 | 146 | ||
147 | PEC on byte data transactions represents a significant increase in bandwidth | 147 | PEC on byte data transactions represents a significant increase in bandwidth |
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index 6882ce75feee..24b3b0e97537 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c | |||
@@ -429,7 +429,7 @@ static DEVICE_ATTR(pec, S_IWUSR | S_IRUGO, show_pec, set_pec); | |||
429 | */ | 429 | */ |
430 | 430 | ||
431 | /* The ADM1032 supports PEC but not on write byte transactions, so we need | 431 | /* The ADM1032 supports PEC but not on write byte transactions, so we need |
432 | to explicitely ask for a transaction without PEC. */ | 432 | to explicitly ask for a transaction without PEC. */ |
433 | static inline s32 adm1032_write_byte(struct i2c_client *client, u8 value) | 433 | static inline s32 adm1032_write_byte(struct i2c_client *client, u8 value) |
434 | { | 434 | { |
435 | return i2c_smbus_xfer(client->adapter, client->addr, | 435 | return i2c_smbus_xfer(client->adapter, client->addr, |