diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2021-09-26 08:35:40 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-10-12 07:22:41 -0700 |
commit | b1c24237341f6fb910c6cb15489222a9f47258d6 (patch) | |
tree | 2503a7f069fe1cbb88632836e8162adf5888df20 /drivers/spi/spi-pic32-sqi.c | |
parent | 1508fb29157e85ce7b4de3743fdf196a4ecfab2f (diff) | |
download | linux-b1c24237341f6fb910c6cb15489222a9f47258d6.tar.bz2 |
hwmon: (mlxreg-fan) Modify PWM connectivity validation
Validate PWM connectivity only for additional PWM - "pwm1" is connected
on all systems, while "pwm2" - "pwm4" are optional. Validate
connectivity only for optional attributes by reading of related "pwm{n}"
registers - in case "pwm{n}" is not connected, register value is
supposed to be 0xff.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20210926053541.1806937-2-vadimp@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/spi/spi-pic32-sqi.c')
0 files changed, 0 insertions, 0 deletions