diff options
author | 2010-05-27 13:18:13 +0100 | |
---|---|---|
committer | 2010-05-28 10:40:27 -0700 | |
commit | 468f0b44ce4b002ca7d9260f802a341854752c02 (patch) | |
tree | 43ab02a3949035fca6d169aa3b10cf6e836455ab /drivers/acpi/debug.c | |
parent | drm/i915: Only print an message if there was an error (diff) | |
download | linux-dev-468f0b44ce4b002ca7d9260f802a341854752c02.tar.xz linux-dev-468f0b44ce4b002ca7d9260f802a341854752c02.zip |
drm/i915: Hold the spinlock whilst resetting unpin_work along error path
Delay taking the mutex until we need to and ensure that we hold the
spinlock when resetting unpin_work on the error path. Also defer the
debugging print messages until after we have released the spinlock.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions