aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 44061367a10d..86418cd3e59d 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -2189,7 +2189,8 @@ static int hotkey_mask_set(u32 mask)
2189 fwmask, hotkey_acpi_mask); 2189 fwmask, hotkey_acpi_mask);
2190 } 2190 }
2191 2191
2192 hotkey_mask_warn_incomplete_mask(); 2192 if (tpacpi_lifecycle != TPACPI_LIFE_EXITING)
2193 hotkey_mask_warn_incomplete_mask();
2193 2194
2194 return rc; 2195 return rc;
2195} 2196}