Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hp_accel: fix race in device removal
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 <[email protected]> Acked-by: Eric Piel <[email protected]> Acked-by: Pavel Machek <[email protected]> Cc: Pavel Herrmann <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information