projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ce0ba
)
drm/i915: clear opregon->lid_state after we unmap it
author
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Thu, 12 Sep 2013 16:58:20 +0000
(13:58 -0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 13 Sep 2013 14:06:01 +0000
(16:06 +0200)
We don't seem to be using the pointer after it's unmapped, so this
patch doesn't fix any bug I can reproduce.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_opregion.c
b/drivers/gpu/drm/i915/intel_opregion.c
index 2ff74912b656a626c3bce2618b8ab4a0f57b2506..aab84b1dbf493542837de50d8df9022d347e9450 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_opregion.c
+++ b/
drivers/gpu/drm/i915/intel_opregion.c
@@
-657,6
+657,7
@@
void intel_opregion_fini(struct drm_device *dev)
opregion->swsci = NULL;
opregion->asle = NULL;
opregion->vbt = NULL;
+ opregion->lid_state = NULL;
}
static void swsci_setup(struct drm_device *dev)