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 <[email protected]>
Cc: [email protected]
Signed-off-by: Chris Wilson <[email protected]>
This commit is contained in:
Christoph Fritz 2010-11-01 11:32:22 +01:00 • committed by Chris Wilson
commit 30c56660fc

View file

@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)
return 0;
err_out:
iounmap(opregion->header);
iounmap(base);
return err;
}