Commit 6c094b31 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}



Starting with MAX34451, the chips of this series support STATUS_IOUT and
STATUS_TEMPERATURE commands, and no longer report over-current and
over-temperature status with STATUS_MFR_SPECIFIC.

Fixes: 7a001dba ("hwmon: (pmbus/max34440) Add support for MAX34451.")
Fixes: 50115ac9 ("hwmon: (pmbus/max34440) Add support for MAX34460 and MAX34461")
Reported-by: default avatarSteve Foreman <foremans@google.com>
Cc: Steve Foreman <foremans@google.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent fcb575bf
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -388,7 +388,6 @@ static struct pmbus_driver_info max34440_info[] = {
		.func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.read_byte_data = max34440_read_byte_data,
		.read_word_data = max34440_read_word_data,
		.write_word_data = max34440_write_word_data,
	},
@@ -419,7 +418,6 @@ static struct pmbus_driver_info max34440_info[] = {
		.func[15] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.read_byte_data = max34440_read_byte_data,
		.read_word_data = max34440_read_word_data,
		.write_word_data = max34440_write_word_data,
	},
@@ -455,7 +453,6 @@ static struct pmbus_driver_info max34440_info[] = {
		.func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.func[21] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
		.read_byte_data = max34440_read_byte_data,
		.read_word_data = max34440_read_word_data,
		.write_word_data = max34440_write_word_data,
	},