]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef271cf029ba33485b5a1c89bce4b1b26f5413a7
tree59f4269a448be3567698a0b7a001023f155f43d5
parentd00b1952c7b04533b0c95bd0171b06423f0ea48d
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: 53d2a9854bbc ("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