hwmon: (corsair-psu) fix suspend behavior
authorWilken Gottwalt <wilken.gottwalt@posteo.net>
Thu, 3 Jun 2021 11:51:02 +0000 (11:51 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 9 Jun 2021 18:51:30 +0000 (11:51 -0700)
commit7656cd2177612aa7c299b083ecff30a4d3e9a587
tree59f4269a448be3567698a0b7a001023f155f43d5
parentfaffc5d8576ed827e2e8e4d2a3771dbb52667381
hwmon: (corsair-psu) fix suspend behavior

During standby some PSUs turn off the microcontroller. A re-init is
required during resume or the microcontroller stays unresponsive.

Fixes: d115b51e0e56 ("hwmon: add Corsair PSU HID controller driver")
Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
Link: https://lore.kernel.org/r/YLjCJiVtu5zgTabI@monster.powergraphx.local
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/corsair-psu.c