hwmon: (pmbus/ibm-cffps) Fix write bits for LED control
authorBrandon Wyman <bjwyman@gmail.com>
Fri, 6 Aug 2021 22:51:31 +0000 (22:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:13 +0000 (13:42 +0200)
commitad07dbba1f27b6b6a0ed79c2d6f7d2cd20dab382
tree956c30a36d8e3205b3fa98290348b85c055465e7
parentfd8feee57442dd1f1d60e865d11f86d87cf4c191
hwmon: (pmbus/ibm-cffps) Fix write bits for LED control

[ Upstream commit 76b72736f574ec38b3e94603ea5f74b1853f26b0 ]

When doing a PMBus write for the LED control on the IBM Common Form
Factor Power Supplies (ibm-cffps), the DAh command requires that bit 7
be low and bit 6 be high in order to indicate that you are truly
attempting to do a write.

Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Link: https://lore.kernel.org/r/20210806225131.1808759-1-bjwyman@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/pmbus/ibm-cffps.c