]> git.baikalelectronics.ru Git - kernel.git/commitdiff
hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller
authorVadim Pasternak <vadimp@nvidia.com>
Mon, 27 Sep 2021 07:07:40 +0000 (10:07 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 2 Oct 2021 11:45:49 +0000 (04:45 -0700)
Add missed attribute for reading POUT from page 1.
It is supported by device, but has been missed in initial commit.

Fixes: 7ba572d42377 ("hwmon: (pmbus) Add support for MPS Multi-phase mp2975 controller")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20210927070740.2149290-1-vadimp@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/mp2975.c

index eb94bd5f4e2a883925c55e47615ac543b00e07f6..51986adfbf47c56f653576f027ccbc4913e214be 100644 (file)
@@ -54,7 +54,7 @@
 
 #define MP2975_RAIL2_FUNC      (PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | \
                                 PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT | \
-                                PMBUS_PHASE_VIRTUAL)
+                                PMBUS_HAVE_POUT | PMBUS_PHASE_VIRTUAL)
 
 struct mp2975_data {
        struct pmbus_driver_info info;