diff options
author | Nuno Sá <nuno.sa@analog.com> | 2019-09-24 15:49:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-17 23:45:42 +0300 |
commit | 99ada52ce213669ca141b493ca5b309cb35cb631 (patch) | |
tree | ec7537624eeea21e441b71e6329db0d874f27d9c /include/linux/anon_inodes.h | |
parent | b9040fab5f369bb64d8671792d74983ef0cb61cf (diff) | |
download | linux-99ada52ce213669ca141b493ca5b309cb35cb631.tar.xz |
hwmon: Fix HWMON_P_MIN_ALARM mask
commit 30945d31e5761436d9eba6b8cff468a5f7c9c266 upstream.
Both HWMON_P_MIN_ALARM and HWMON_P_MAX_ALARM were using
BIT(hwmon_power_max_alarm).
Fixes: aa7f29b07c870 ("hwmon: Add support for power min, lcrit, min_alarm and lcrit_alarm")
CC: <stable@vger.kernel.org>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20190924124945.491326-2-nuno.sa@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/anon_inodes.h')
0 files changed, 0 insertions, 0 deletions