diff options
author | Oliver Neukum <oneukum@suse.de> | 2010-05-11 14:07:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-26 14:29:13 -0700 |
commit | 7b7be5f379bd001c86372c2e042cb7779c4f0a06 (patch) | |
tree | fa00148df5bec3f5c0f2fb9471798c1a216b6e33 /drivers/hwmon/sis5595.c | |
parent | 5f4213d39b4965791875f6e10f6f7268ba8dfc2c (diff) |
hp_accel: fix race in device removal
commit 06efbeb4a47b6f865e1c9d175ab9d6e90b69ae9e upstream.
The work queue has to be flushed after the device has been made
inaccessible. The patch closes a window during which a work queue might
remain active after the device is removed and would then lead to ACPI
calls with undefined behavior.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/sis5595.c')
0 files changed, 0 insertions, 0 deletions