drm/i915: opregion_setup: iounmap correct address
Subsystems (3)
PATCH 1/1 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]>
--- drivers/gpu/drm/i915/intel_opregion.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/i915/intel_opregion.c +1 -1
@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)return 0 ; err_out: -iounmap (opregion->header); +iounmap (base);return err; }
Signature · 1 line
1.7.1
Chris Wilson
AppliedQuoted 2 lines · Christoph Fritz
In case of an opregion signature mismatch in
intel_opregion_setup(), iounmap the correct address.
Applied to -fixes and tagged for stable.
Thanks!
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre