]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
authorMike Jones <michael-a1.jones@analog.com>
Tue, 28 Jan 2020 17:59:59 +0000 (10:59 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 10 Feb 2020 02:41:08 +0000 (18:41 -0800)
commit08fb7815d87cc4d9036bf91885214c758b0903e9
tree9102d3b258d902477490f3e679db56fae6ed9f63
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.

Change 21537dc driver PMBus polling of MFR_COMMON from bits 5/4 to
bits 6/5. This fixs a LTC297X family bug where polling always returns
not busy even when the part is busy. This fixes a LTC388X and
LTM467X bug where polling used PEND and NOT_IN_TRANS, and BUSY was
not polled, which can lead to NACKing of commands. LTC388X and
LTM467X modules now poll BUSY and PEND, increasing reliability by
eliminating NACKing of commands.

Signed-off-by: Mike Jones <michael-a1.jones@analog.com>
Link: https://lore.kernel.org/r/1580234400-2829-2-git-send-email-michael-a1.jones@analog.com
Fixes: 8d582bbb40a38 ("hwmon: (ltc2978) Add polling for chips requiring it")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ltc2978.c