linux-hardened/drivers/hwmon/pmbus
Guenter Roeck 3a2805e845 hwmon: (pmbus/lm25066) Ignore byte writes to non-zero pages
pmbus_clear_faults() attempts to clear faults on non-existing real pages.
As a result, the command error bit in the status register is set, and faults
are not really cleared.

All byte writes to non-zero pages are requests to clear the status register
on that page. Since non-zero pages are virtual and do not exist on the chip,
there is nothing to do, and such requests have to be ignored. This fixes
above problem.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
2011-08-11 10:14:12 -07:00
..
adm1275.c hwmon: (adm1275) Add support for peak attributes 2011-07-28 17:09:52 -07:00
Kconfig hwmon: (pmbus) Add client driver for LM25066, LM5064, and LM5066 2011-07-28 20:16:17 -07:00
lm25066.c hwmon: (pmbus/lm25066) Ignore byte writes to non-zero pages 2011-08-11 10:14:12 -07:00
Makefile hwmon: (pmbus) Add client driver for LM25066, LM5064, and LM5066 2011-07-28 20:16:17 -07:00
max8688.c hwmon: (max8688) Add support for peak attributes 2011-07-28 17:09:53 -07:00
max16064.c hwmon: (max16064) Add support for peak attributes 2011-07-28 17:09:53 -07:00
max34440.c hwmon: (max34440) Add support for peak attributes 2011-07-28 17:09:54 -07:00
pmbus.c hwmon: (pmbus) Add ADP4000, NCP4200 and NCP4208 to list of supported devices 2011-07-28 15:31:18 -07:00
pmbus.h hwmon: (pmbus) Virtualize pmbus_write_byte 2011-08-11 10:14:04 -07:00
pmbus_core.c hwmon: (pmbus) Virtualize pmbus_write_byte 2011-08-11 10:14:04 -07:00
ucd9000.c hwmon: (pmbus) Move PMBus drivers to drivers/hwmon/pmbus 2011-07-28 11:47:53 -07:00
ucd9200.c hwmon: (pmbus) Move PMBus drivers to drivers/hwmon/pmbus 2011-07-28 11:47:53 -07:00