hwmon: (lm90) Disable interrupt on suspend
authorDmitry Osipenko <digetx@gmail.com>
Fri, 18 Jun 2021 21:54:55 +0000 (00:54 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 19 Jun 2021 11:09:49 +0000 (04:09 -0700)
commit4c7f85a321a1ac265159c22a6998ef4f2a60c21d
tree132ddc0856a3e254c5d1a40be30d46f324bef315
parent2abdc357c55d9e728f6710cf22618889f16a00f6
hwmon: (lm90) Disable interrupt on suspend

I2C accesses are prohibited and will error out after suspending of the
I2C controller, hence we need to ensure that interrupt won't fire on
suspend when it's too late. Disable interrupt across suspend/resume.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c