mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 11:43:59 +01:00
Reset uw kbd bl color on resume
This commit is contained in:
parent
56cadb61de
commit
9f05c50681
|
@ -649,6 +649,8 @@ static int uniwill_keyboard_suspend(struct platform_device *dev, pm_message_t st
|
||||||
static int uniwill_keyboard_resume(struct platform_device *dev)
|
static int uniwill_keyboard_resume(struct platform_device *dev)
|
||||||
{
|
{
|
||||||
if (uniwill_kbd_bl_type_rgb_single_color) {
|
if (uniwill_kbd_bl_type_rgb_single_color) {
|
||||||
|
uniwill_write_kbd_bl_reset();
|
||||||
|
msleep(100);
|
||||||
uniwill_write_kbd_bl_state();
|
uniwill_write_kbd_bl_state();
|
||||||
}
|
}
|
||||||
uniwill_write_kbd_bl_enable(1);
|
uniwill_write_kbd_bl_enable(1);
|
||||||
|
|
Loading…
Reference in a new issue