mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 15:42:19 +02:00
thinkpad-acpi: silence bogus complain during rmmod
commit 6b30eb7d21 upstream.
Fix this bogus warning during module shutdown, when
backlight event reporting is enabled:
"thinkpad_acpi: required events 0x00018000 not enabled!"
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
8bf934d74b
commit
5d0e3bb2aa
|
|
@ -2190,7 +2190,8 @@ static int hotkey_mask_set(u32 mask)
|
|||
fwmask, hotkey_acpi_mask);
|
||||
}
|
||||
|
||||
hotkey_mask_warn_incomplete_mask();
|
||||
if (tpacpi_lifecycle != TPACPI_LIFE_EXITING)
|
||||
hotkey_mask_warn_incomplete_mask();
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user