android_kernel_xiaomi_sm8350/drivers/acpi/hardware
Alexey Starikovskiy 2d571b33cf ACPICA: hw: Don't carry spinlock over suspend
ACPI uses acpi_get_register() in order to get into suspend.
This function is guarded by acpi_gbl_hardware_lock, which will be carried
into resume phase.
At resume interrupts are enabled and first ACPI interrupt deadlocks on this
lock.
Solution seems to be to not lock register read, as there are no concurrent
activity at this point.

Reference: http://bugzilla.kernel.org/show_bug.cgi?id=7499

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-10-10 01:00:39 -04:00
..
hwacpi.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
hwgpe.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
hwregs.c ACPICA: hw: remove use_lock flag from acpi_hw_register_{read, write} 2007-10-10 01:00:26 -04:00
hwsleep.c ACPICA: hw: Don't carry spinlock over suspend 2007-10-10 01:00:39 -04:00
hwtimer.c ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
Makefile