diff options
Diffstat (limited to 'drivers/acpi/events')
-rw-r--r-- | drivers/acpi/events/evxface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c index dbf34a5fc1e0..e210aa2d76da 100644 --- a/drivers/acpi/events/evxface.c +++ b/drivers/acpi/events/evxface.c | |||
@@ -816,7 +816,7 @@ acpi_status acpi_release_global_lock(u32 handle) | |||
816 | { | 816 | { |
817 | acpi_status status; | 817 | acpi_status status; |
818 | 818 | ||
819 | if (handle != acpi_gbl_global_lock_handle) { | 819 | if (!handle || (handle != acpi_gbl_global_lock_handle)) { |
820 | return (AE_NOT_ACQUIRED); | 820 | return (AE_NOT_ACQUIRED); |
821 | } | 821 | } |
822 | 822 | ||