mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
395b70be54
commit
30c56660fc
1 changed files with 1 additions and 1 deletions
|
|
@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)
|
|||
return 0;
|
||||
|
||||
err_out:
|
||||
iounmap(opregion->header);
|
||||
iounmap(base);
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue