Re: [PATCH] hwmon:max6697: Make sure the OVERT mask is set correctly

2020-06-24 Thread Guenter Roeck
On Tue, Jun 23, 2020 at 10:13:08PM +, Chu Lin wrote: > Per the datasheet for max6697, OVERT mask and ALERT mask is different. > For example, the 7th bit of OVERT is the local channel but for alert > mask, the 6th bit is the local channel. Therefore, we can't apply the > same mask for both reg.

[PATCH] hwmon:max6697: Make sure the OVERT mask is set correctly

2020-06-23 Thread Chu Lin
Per the datasheet for max6697, OVERT mask and ALERT mask is different. For example, the 7th bit of OVERT is the local channel but for alert mask, the 6th bit is the local channel. Therefore, we can't apply the same mask for both reg. In addition to that, max6697 driver is suppose to be compatibale