linux/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
..
Kconfig hwmon: (pmbus) remove redundant 'default n' from Kconfig 2018-10-11 20:08:16 -07:00
Makefile hwmon updates for v4.15 2017-11-13 08:55:46 -08:00
adm1275.c hwmon: (pmbus/adm1275) Add support for ADM1272 2018-03-22 09:32:17 -07:00
ibm-cffps.c hwmon: (pmbus/cffps) Add led class device for power supply fault led 2018-01-11 10:28:35 -08:00
ir35221.c hwmon: (pmbus/ir35221) Remove unnecessary scaling 2018-01-15 04:22:46 -08:00
lm25066.c hwmon: (pmbus/lm25066) Drop support for LM25063 2018-01-02 15:05:34 -08:00
ltc2978.c drivers: hwmon: (pmbus/ltc2978) Add support for LTM4686 uModule 2018-10-10 20:37:13 -07:00
ltc3815.c hwmon: (pmbus) Add client driver for LTC3815 2015-12-18 08:20:59 -08:00
max8688.c hwmon: (pmbus/max8688) Accept negative page register values 2018-03-10 18:59:47 -08:00
max16064.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
max20751.c hwmon: (pmbus) Add support for MAX20751 2015-08-09 13:44:27 -07:00
max31785.c hwmon: (max31785) Add OF device ID table 2018-01-02 15:05:34 -08:00
max34440.c hwmon: (pmbus/max34440) Add support for MAX34451. 2018-07-08 20:08:13 -07:00
pmbus.c hwmon: (pmbus) Fix page count auto-detection. 2018-10-15 12:44:36 -07:00
pmbus.h hwmon: (pmbus) Export pmbus device debugfs directory entry 2018-01-02 15:05:34 -08:00
pmbus_core.c hwmon: (pmbus) Fix page count auto-detection. 2018-10-15 12:44:36 -07:00
tps40422.c hwmon: (pmbus) Add tps40422 front-end driver 2014-08-04 07:01:38 -07:00
tps53679.c hwmon: (pmbus) Add support for Texas Instruments tps53679 device 2017-08-30 18:01:08 -07:00
ucd9000.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
ucd9200.c hwmon: (pmbus) move header file out of I2C realm 2017-06-11 17:08:19 -07:00
zl6100.c hwmon: (pmbus) Use BIT macro 2015-08-19 09:08:17 -07:00