Commit 30c56660 authored by Christoph Fritz's avatar Christoph Fritz Committed by Chris Wilson

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: default avatarChristoph Fritz <chf.fritz@googlemail.com>
Cc: stable@kernel.org
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 395b70be
...@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev) ...@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)
return 0; return 0;
err_out: err_out:
iounmap(opregion->header); iounmap(base);
return err; return err;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment