summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChristoph Fritz <chf.fritz@googlemail.com>2010-11-01 11:32:22 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-01 11:29:12 +0100
commit30c56660fc4ba9bad7847ad43bb059d2447001d4 (patch)
treeca58a3e4d8fa624da0df04a570e39a82090f4a2b /drivers/gpu
parentdrm/i915: Flush read-only buffers from the active list upon idle as well (diff)
downloadlinux-30c56660fc4ba9bad7847ad43bb059d2447001d4.tar.xz
linux-30c56660fc4ba9bad7847ad43bb059d2447001d4.zip
drm/i915: opregion_setup: iounmap correct address
In case of an opregion signature mismatch in intel_opregion_setup(), iounmap the correct address. Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Cc: stable@kernel.org Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_opregion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c
index 917c7dc3cd6b..9b0d9a867aea 100644
--- a/drivers/gpu/drm/i915/intel_opregion.c
+++ b/drivers/gpu/drm/i915/intel_opregion.c
@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)
return 0;
err_out:
- iounmap(opregion->header);
+ iounmap(base);
return err;
}