diff options
author | Pavel Machek <pavel@suse.cz> | 2009-01-15 16:51:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-15 19:39:41 -0500 |
commit | 9e1c9d865543593ee92ec3a5075f064dec981a96 (patch) | |
tree | b89aa477a142e50fb45553b63fa51a20e67d6e89 /mm | |
parent | 219beb291ba9275dd676578724103abed4cfbfe3 (diff) |
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 <pavel@suse.cz>
Cc: Éric Piel <eric.piel@tremplin-utc.net>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions