|
@@ -8447,9 +8447,21 @@ static void mute_led_exit(void)
|
|
|
tpacpi_led_set(i, false);
|
|
|
}
|
|
|
|
|
|
+static void mute_led_resume(void)
|
|
|
+{
|
|
|
+ int i;
|
|
|
+
|
|
|
+ for (i = 0; i < TPACPI_LED_MAX; i++) {
|
|
|
+ struct tp_led_table *t = &led_tables[i];
|
|
|
+ if (t->state >= 0)
|
|
|
+ mute_led_on_off(t, t->state);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
static struct ibm_struct mute_led_driver_data = {
|
|
|
.name = "mute_led",
|
|
|
.exit = mute_led_exit,
|
|
|
+ .resume = mute_led_resume,
|
|
|
};
|
|
|
|
|
|
/****************************************************************************
|