]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (mr75203) enable polling for all VM channels
authorEliav Farber <farbere@amazon.com>
Thu, 8 Sep 2022 15:24:34 +0000 (15:24 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Sep 2022 18:56:31 +0000 (11:56 -0700)
commita8ccebe5e6cdec276fc617fec560731c3e232f1e
tree912e4ef7d59f2a45544c30012b9565284729ee93
parentb746766dc916d075a3869c920524f665180d1a96
hwmon: (mr75203) enable polling for all VM channels

Configure ip-polling register to enable polling for all voltage monitor
channels.
This enables reading the voltage values for all inputs other than just
input 0.

Fixes: e6dc6d6dd8bd ("hwmon: Add hardware monitoring driver for Moortec MR75203 PVT controller")
Signed-off-by: Eliav Farber <farbere@amazon.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220908152449.35457-7-farbere@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mr75203.c