hwmon: (mlxreg-fan) Fix macros for tacho fault reading
authorVadim Pasternak <vadimp@mellanox.com>
Fri, 16 Nov 2018 13:47:11 +0000 (13:47 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 16 Nov 2018 16:10:23 +0000 (08:10 -0800)
commit243cfe3fb8978c7eec24511aba7dac98819ed896
treed46297d875233a66a189130c9e8570b096d59714
parent38cd989ee38c16388cde89db5b734f9d55b905f9
hwmon: (mlxreg-fan) Fix macros for tacho fault reading

Fix macros for tacometer fault reading.
This fix is relevant for three Mellanox systems MQMB7, MSN37, MSN34,
which are about to be released to the customers.
At the moment, none of them is at customers sites.

Fixes: 65afb4c8e7e4 ("hwmon: (mlxreg-fan) Add support for Mellanox FAN driver")
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mlxreg-fan.c