mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
41e6d7215d
commit
b1526b38e3
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue