WSL2-Linux-Kernel/drivers/hwmon/pmbus
Tomáš Pecka d1138f118f hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E
[ Upstream commit 93822f5161 ]

The bit flags in pmbus_driver_info functionality for YM-2151E chip were
joined with a comma operator instead of a bitwise OR. This means that
the last constant PMBUS_HAVE_IIN was not OR-ed with the other
PM_BUS_HAVE_* constants for this page but it initialized the next element
of the func array (which was not accessed from anywhere because of the
number of pages).

However, there is no need for setting PMBUS_HAVE_IIN in the 5Vsb page
because this command does not seem to be paged. Obviously, the device
only has one IIN sensor, so it doesn't make sense to query it again from
the second page.

Fixes: 1734b4135a ("hwmon: Add driver for fsp-3y PSUs and PDUs")
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Tomáš Pecka <tomas.pecka@cesnet.cz>
Link: https://lore.kernel.org/r/20230420171939.212040-1-tomas.pecka@cesnet.cz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:00:25 +09:00
..
Kconfig hwmon: (pmbus) Add driver for Delta DPS-920AB PSU 2021-06-17 04:21:46 -07:00
Makefile hwmon: (pmbus) Add driver for Delta DPS-920AB PSU 2021-06-17 04:21:46 -07:00
adm1266.c hwmon: (adm1266) Set `can_sleep` flag for GPIO chip 2023-03-22 13:31:30 +01:00
adm1275.c hwmon: (adm1275) enable adm1272 temperature reporting 2021-06-17 04:21:45 -07:00
bel-pfe.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
bpa-rs600.c hwmon: (pmbus/bpa-rs600) Add workaround for incorrect Pin max 2021-08-17 14:54:27 -07:00
dps920ab.c hwmon: (pmbus/dps920ab) Delete some dead code 2021-06-18 12:45:58 -07:00
fsp-3y.c hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E 2023-05-11 23:00:25 +09:00
ibm-cffps.c hwmon: (pmbus/ibm-cffps) max_power_out swap changes 2021-10-02 04:38:53 -07:00
inspur-ipsps.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
ir35221.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
ir36021.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
ir38064.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
irps5401.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
isl68137.c hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228 2021-05-16 16:00:56 -07:00
lm25066.c hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff 2021-11-18 19:16:32 +01:00
ltc2978.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
ltc3815.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max8688.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max15301.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max16064.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max16601.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max20730.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max20751.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max31785.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
max34440.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
mp2888.c hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller 2022-10-26 12:34:48 +02:00
mp2975.c hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller 2021-10-02 04:45:49 -07:00
pim4328.c hwmon: (pmbus/pim4328) Add PMBus driver for PIM4006, PIM4328 and PIM4820 2021-06-17 04:21:46 -07:00
pm6764tr.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
pmbus.c hwmon: (pmbus) Add support for additional Flex BMR converters to pmbus 2021-06-17 04:21:45 -07:00
pmbus.h hwmon: (pmbus) Add Vin unit off handling 2022-04-08 14:23:09 +02:00
pmbus_core.c hwmon: (pmbus) Check PEC support before reading other registers 2022-06-09 10:23:02 +02:00
pxe1610.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
q54sj108a2.c hwmon/pmbus: (q54sj108a2) The PMBUS_MFR_ID is actually 6 chars instead of 5 2021-05-17 16:02:05 -07:00
stpddc60.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
tps40422.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
tps53679.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
ucd9000.c hwmon: (ucd90320) Add minimum delay between bus accesses 2023-03-22 13:31:29 +01:00
ucd9200.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
xdpe12284.c hwmon: (pmbus) Introduce PMBUS symbol namespace 2021-04-20 06:50:14 -07:00
zl6100.c hwmon: (pmbus/zl6100) Add support for ZLS1003, ZLS4009 and ZL8802 2021-06-17 04:21:43 -07:00