diff options
author | Christoph Fritz <chf.fritz@googlemail.com> | 2010-11-01 11:32:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-01 11:29:12 +0100 |
commit | 30c56660fc4ba9bad7847ad43bb059d2447001d4 (patch) | |
tree | ca58a3e4d8fa624da0df04a570e39a82090f4a2b /drivers/gpu | |
parent | drm/i915: Flush read-only buffers from the active list upon idle as well (diff) | |
download | linux-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.c | 2 |
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; } |