]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / cpuidle: Remove acpi_idle_suspend (to fix suspend regression)
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 12 Nov 2011 22:17:27 +0000 (23:17 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Nov 2011 23:30:14 +0000 (21:30 -0200)
commit3439a8da16bcad6b0982ece938c9f8299bb53584
tree45e6683ecc8e8abff279f68f7718b8cdc48f0d89
parent5b34b08996decc53a993287282e2cd42b90e02f7
ACPI / cpuidle: Remove acpi_idle_suspend (to fix suspend regression)

After commit e978aa7d7d57 ("cpuidle: Move dev->last_residency update to
driver enter routine; remove dev->last_state") setting acpi_idle_suspend
to 1 by acpi_processor_suspend() causes the ACPI cpuidle routines to
return error codes continuously, which in turn causes cpuidle to lock up
(hard).

However, acpi_idle_suspend doesn't appear to be useful for any
particular purpose (it's racy and doesn't really provide any real
protection), so it can be removed, which makes the problem go away.

Reported-and-tested-by: Tomas M. <tmezzadra@gmail.com>
Reported-and-tested-by: Ferenc Wagner <wferi@niif.hu>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/processor_idle.c