mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
hwmon: (ltc2978) LTM4676 supports CLEAR_PEAKS
Use the CLEAR_PEAKS command on LTM4676. Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
68a4038236
commit
aeaa4d9f81
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ static int ltc2978_clear_peaks(struct i2c_client *client, int page,
|
|||
{
|
||||
int ret;
|
||||
|
||||
if (id == ltc3880 || id == ltc3883)
|
||||
if (id == ltc3880 || id == ltc3883 || id == ltm4676)
|
||||
ret = pmbus_write_byte(client, 0, LTC3880_MFR_CLEAR_PEAKS);
|
||||
else
|
||||
ret = pmbus_write_byte(client, page, PMBUS_CLEAR_FAULTS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue