Skip to content
Commit b1526b38 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (lm90) Only disable alerts if not already disabled



It was observed that the alert handler may be called from the i2c core
even after alerts have already been disabled. Only disable alerts if
they have not already been disabled.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 41e6d721
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment