From: Pavel Machek Date: Thu, 15 Jan 2009 21:51:24 +0000 (-0800) Subject: hp_accel: do not call ACPI from invalid context X-Git-Tag: v2.6.29-rc2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e1c9d865543593ee92ec3a5075f064dec981a96;p=pandora-kernel.git hp_accel: do not call ACPI from invalid context The LED on HP notebooks is connected through ACPI. That unfortunately means that it needs to be delayed by using schedule_work() to avoid calling the ACPI interpreter from an invalid context. [akpm@linux-foundation.org: use flush_work() rather than sort-of reimplementing it] Signed-off-by: Pavel Machek Cc: Éric Piel Cc: Len Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed