Skip to content

Commit

Permalink
ACPICA: Hardware: back port of a recursive locking fix
Browse files Browse the repository at this point in the history
This patch is a back port result of the following Linux commit:
 Commit: f7f71cf
 Author: Rakib Mullick <rakib.mullick@gmail.com>
 Subject: ACPI: Fix possible recursive locking in hwregs.c

As a result of different coding style rules, the back ported code generates
source code differences between the Linux kernel and the ACPICA upstream.
This patch reduces such source code differences.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Lv Zheng authored and Rafael J. Wysocki committed Jul 8, 2014
1 parent ff2389f commit 7d3e83b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/acpica/hwregs.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,9 @@ acpi_status acpi_hw_clear_acpi_status(void)

acpi_os_release_lock(acpi_gbl_hardware_lock, lock_flags);

if (ACPI_FAILURE(status))
if (ACPI_FAILURE(status)) {
goto exit;
}

/* Clear the GPE Bits in all GPE registers in all GPE blocks */

Expand Down

0 comments on commit 7d3e83b

Please sign in to comment.