max34440.c (da733563be5a9da26fe81d9f007262d00b846e22) | max34440.c (dc91ad8e84593eb49c65cca70537088782b21e08) |
---|---|
1/* 2 * Hardware monitoring driver for Maxim MAX34440/MAX34441 3 * 4 * Copyright (c) 2011 Ericsson AB. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 68 unchanged lines hidden (view full) --- 77 break; 78 case PMBUS_VIRT_RESET_IOUT_HISTORY: 79 ret = pmbus_write_word_data(client, page, 80 MAX34440_MFR_IOUT_PEAK, 0); 81 break; 82 case PMBUS_VIRT_RESET_TEMP_HISTORY: 83 ret = pmbus_write_word_data(client, page, 84 MAX34440_MFR_TEMPERATURE_PEAK, | 1/* 2 * Hardware monitoring driver for Maxim MAX34440/MAX34441 3 * 4 * Copyright (c) 2011 Ericsson AB. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 68 unchanged lines hidden (view full) --- 77 break; 78 case PMBUS_VIRT_RESET_IOUT_HISTORY: 79 ret = pmbus_write_word_data(client, page, 80 MAX34440_MFR_IOUT_PEAK, 0); 81 break; 82 case PMBUS_VIRT_RESET_TEMP_HISTORY: 83 ret = pmbus_write_word_data(client, page, 84 MAX34440_MFR_TEMPERATURE_PEAK, |
85 0xffff); | 85 0x8000); |
86 break; 87 default: 88 ret = -ENODATA; 89 break; 90 } 91 return ret; 92} 93 --- 172 unchanged lines hidden --- | 86 break; 87 default: 88 ret = -ENODATA; 89 break; 90 } 91 return ret; 92} 93 --- 172 unchanged lines hidden --- |