kernel_optimize_test/drivers/hwmon/pmbus
Dmitry Bazhenov e7c6a55606 hwmon: (pmbus) Fix page count auto-detection.
Devices with compatible="pmbus" field have zero initial page count,
and pmbus_clear_faults() being called before the page count auto-
detection does not actually clear faults because it depends on the
page count. Non-cleared faults in its turn may fail the subsequent
page count auto-detection.

This patch fixes this problem by calling pmbus_clear_fault_page()
for currently set page and calling pmbus_clear_faults() after the
page count was detected.

Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Bazhenov <bazhenov.dn@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-10-15 12:44:36 -07:00
..
adm1275.c
ibm-cffps.c
ir35221.c
Kconfig
lm25066.c
ltc2978.c
ltc3815.c
Makefile
max8688.c
max16064.c
max20751.c
max31785.c
max34440.c
pmbus_core.c hwmon: (pmbus) Fix page count auto-detection. 2018-10-15 12:44:36 -07:00
pmbus.c hwmon: (pmbus) Fix page count auto-detection. 2018-10-15 12:44:36 -07:00
pmbus.h
tps40422.c
tps53679.c
ucd9000.c
ucd9200.c
zl6100.c