diff options
| -rw-r--r-- | drivers/hwmon/w83795.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hwmon/w83795.c b/drivers/hwmon/w83795.c index 600b2adbbd49..90f4ffb357b7 100644 --- a/drivers/hwmon/w83795.c +++ b/drivers/hwmon/w83795.c | |||
| @@ -755,6 +755,10 @@ store_chassis_clear(struct device *dev, | |||
| 755 | val = w83795_read(client, W83795_REG_CLR_CHASSIS); | 755 | val = w83795_read(client, W83795_REG_CLR_CHASSIS); |
| 756 | val |= 0x80; | 756 | val |= 0x80; |
| 757 | w83795_write(client, W83795_REG_CLR_CHASSIS, val); | 757 | w83795_write(client, W83795_REG_CLR_CHASSIS, val); |
| 758 | |||
| 759 | /* Clear status and force cache refresh */ | ||
| 760 | w83795_read(client, W83795_REG_ALARM(5)); | ||
| 761 | data->valid = 0; | ||
| 758 | mutex_unlock(&data->update_lock); | 762 | mutex_unlock(&data->update_lock); |
| 759 | return count; | 763 | return count; |
| 760 | } | 764 | } |
